[FFmpeg-cvslog] lavfi/af_aconvert: update audio->channels.

Nicolas George git at videolan.org
Thu Dec 20 17:13:28 CET 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Dec 20 16:38:53 2012 +0100| [c7a1239bf9807cc0a6a2d9a004877578c258fdbf] | committer: Nicolas George

lavfi/af_aconvert: update audio->channels.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c7a1239bf9807cc0a6a2d9a004877578c258fdbf
---

 libavfilter/af_aconvert.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/af_aconvert.c b/libavfilter/af_aconvert.c
index 54f1fcd..e41095f 100644
--- a/libavfilter/af_aconvert.c
+++ b/libavfilter/af_aconvert.c
@@ -147,6 +147,7 @@ static int  filter_frame(AVFilterLink *inlink, AVFilterBufferRef *insamplesref)
                         (void *)insamplesref->data, n);
 
     avfilter_copy_buffer_ref_props(outsamplesref, insamplesref);
+    outsamplesref->audio->channels       = outlink->channels;
     outsamplesref->audio->channel_layout = outlink->channel_layout;
 
     ret = ff_filter_frame(outlink, outsamplesref);



More information about the ffmpeg-cvslog mailing list