Commit f0e95948 authored by Luca Barbato's avatar Luca Barbato

af_channelmap: Set the frame channel layout

Otherwise the frame would show the first layout matching the
channel count.
parent 87efaa97
......@@ -342,6 +342,8 @@ static int channelmap_filter_frame(AVFilterLink *inlink, AVFrame *buf)
memcpy(buf->data, buf->extended_data,
FFMIN(FF_ARRAY_ELEMS(buf->data), nch_out) * sizeof(buf->data[0]));
buf->channel_layout = outlink->channel_layout;
return ff_filter_frame(outlink, buf);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment