diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-10 13:39:56 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-10 13:39:56 +0000 |
commit | 3fb8e77a8dff489026448af0245d4db43fb0b868 (patch) | |
tree | 671df5414fa92b7ac769a88760c2ce15d8485176 /libavfilter/avfiltergraph.c | |
parent | 54c5848dbdd39396cba0502839fa061d7c384c89 (diff) | |
download | ffmpeg-3fb8e77a8dff489026448af0245d4db43fb0b868.tar.gz |
Add a log context to avfilter_graph_config_links().
Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 269d566d5f..73e5f1476f 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -105,7 +105,7 @@ AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name) return NULL; } -static int query_formats(AVFilterGraph *graph) +static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) { int i, j; int scaler_count = 0; @@ -186,10 +186,10 @@ static void pick_formats(AVFilterGraph *graph) } } -int avfilter_graph_config_formats(AVFilterGraph *graph) +int avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx) { /* find supported formats from sub-filters, and merge along links */ - if(query_formats(graph)) + if(query_formats(graph, log_ctx)) return -1; /* Once everything is merged, it's possible that we'll still have |