1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/af_aconvert: update audio->channels.

This commit is contained in:
Nicolas George 2012-12-20 16:38:53 +01:00
parent 17714adbf8
commit c7a1239bf9

View File

@ -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);