diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-16 10:20:53 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-16 10:20:53 +0000 |
commit | 2a24df9357f89a9fa9d5aaeb4d2a503fa545de27 (patch) | |
tree | edf609a58f5e117da1fdd04c27a0a79a217de502 /ffplay.c | |
parent | 0b6d358a09ef4dcffb42e54796985685cbb6b21e (diff) | |
download | ffmpeg-2a24df9357f89a9fa9d5aaeb4d2a503fa545de27.tar.gz |
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1849,9 +1849,8 @@ static int video_thread(void *arg) avfilter_graph_add_filter(graph, filt_src); avfilter_graph_add_filter(graph, filt_out); - if(avfilter_graph_check_validity(graph, NULL)) goto the_end; - if(avfilter_graph_config_formats(graph, NULL)) goto the_end; - if(avfilter_graph_config_links(graph, NULL)) goto the_end; + if (avfilter_graph_config(graph, NULL) < 0) + goto the_end; is->out_video_filter = filt_out; #endif |