aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorMina Nagy Zaki <mnzaki@gmail.com>2011-06-28 08:56:19 +0300
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-16 19:22:49 +0200
commitb57df29f95d1107a66315a6744c1c3e73293b2ee (patch)
treee3ec19ee11571deaef1a69c82deb31abf0ea0117 /libavfilter/avfilter.c
parent7bda0c9a82eb3c9a58e0c9f170ac47fe7289f6f7 (diff)
downloadffmpeg-b57df29f95d1107a66315a6744c1c3e73293b2ee.tar.gz
lavfi: add audio channel packing negotiation fields
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
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 a57677c0e4..7003cdda5c 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -221,6 +221,9 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
if (link->out_chlayouts)
avfilter_formats_changeref(&link->out_chlayouts,
&filt->outputs[filt_dstpad_idx]->out_chlayouts);
+ if (link->out_packing)
+ avfilter_formats_changeref(&link->out_packing,
+ &filt->outputs[filt_dstpad_idx]->out_packing);
return 0;
}