summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 10:20:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 10:20:53 +0000
commit2a24df9357f89a9fa9d5aaeb4d2a503fa545de27 (patch)
treeedf609a58f5e117da1fdd04c27a0a79a217de502 /ffplay.c
parent0b6d358a09ef4dcffb42e54796985685cbb6b21e (diff)
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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ffplay.c b/ffplay.c
index 93208e2137..da12810d18 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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