[FFmpeg-soc] [soc]: r4363 - in libavfilter/diffs: 01_ffplay_filters.diff 02_ffmpeg_filters.diff

stefano subversion at mplayerhq.hu
Sun May 31 18:52:15 CEST 2009


Author: stefano
Date: Sun May 31 18:52:15 2009
New Revision: 4363

Log:
Make ffplay and ffmpeg use avfilter_graph_config_links() for
configuring filters.
This is required when there is more than one sink in a graph.

Modified:
   libavfilter/diffs/01_ffplay_filters.diff
   libavfilter/diffs/02_ffmpeg_filters.diff

Modified: libavfilter/diffs/01_ffplay_filters.diff
==============================================================================
--- libavfilter/diffs/01_ffplay_filters.diff	Sun May 31 18:45:57 2009	(r4362)
+++ libavfilter/diffs/01_ffplay_filters.diff	Sun May 31 18:52:15 2009	(r4363)
@@ -444,7 +444,7 @@ Index: ffplay.c
 +
 +    if(avfilter_graph_check_validity(graph, NULL))           goto the_end;
 +    if(avfilter_graph_config_formats(graph))                 goto the_end;
-+    if(avfilter_config_links(filt_out))                      goto the_end;
++    if(avfilter_graph_config_links(graph, NULL))             goto the_end;
 +
 +    is->out_video_filter = filt_out;
 +#endif

Modified: libavfilter/diffs/02_ffmpeg_filters.diff
==============================================================================
--- libavfilter/diffs/02_ffmpeg_filters.diff	Sun May 31 18:45:57 2009	(r4362)
+++ libavfilter/diffs/02_ffmpeg_filters.diff	Sun May 31 18:52:15 2009	(r4363)
@@ -214,7 +214,7 @@ Index: ffmpeg.c
 +        return -1;
 +    if(avfilter_graph_config_formats(filt_graph_all))
 +        return -1;
-+    if(avfilter_config_links(ist->out_video_filter))
++    if(avfilter_graph_config_links(filt_graph_all, NULL))
 +        return -1;
 +
 +    codec->width = ist->out_video_filter->inputs[0]->w;


More information about the FFmpeg-soc mailing list