aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorMina Nagy Zaki <mnzaki@gmail.com>2011-06-19 20:31:24 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-06-19 22:58:32 +0200
commitfd2c0a5db242a3c89a89f1dd2ae9e3155e48f9e2 (patch)
tree304f7ccb5772ff319728ba6cc99ada72bd579c9e /libavfilter/avfilter.c
parent527ca3985c736ffe077a82fdf3616f0fd571b923 (diff)
downloadffmpeg-fd2c0a5db242a3c89a89f1dd2ae9e3155e48f9e2.tar.gz
lavfi: add layout negotiation fields and helper functions.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 3b2e3ca2be..44dd515518 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -217,6 +217,9 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
if (link->out_formats)
avfilter_formats_changeref(&link->out_formats,
&filt->outputs[filt_dstpad_idx]->out_formats);
+ if (link->out_chlayouts)
+ avfilter_formats_changeref(&link->out_chlayouts,
+ &filt->outputs[filt_dstpad_idx]->out_chlayouts);
return 0;
}