diff options
author | Mina Nagy Zaki <mnzaki@gmail.com> | 2011-06-19 20:31:24 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-19 22:58:32 +0200 |
commit | fd2c0a5db242a3c89a89f1dd2ae9e3155e48f9e2 (patch) | |
tree | 304f7ccb5772ff319728ba6cc99ada72bd579c9e /libavfilter/avfilter.c | |
parent | 527ca3985c736ffe077a82fdf3616f0fd571b923 (diff) | |
download | ffmpeg-fd2c0a5db242a3c89a89f1dd2ae9e3155e48f9e2.tar.gz |
lavfi: add layout negotiation fields and helper functions.
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 3 |
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; } |