Commit e0dd8cad authored by Michael Niedermayer's avatar Michael Niedermayer

af_join: fix channel count and format

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 37bdf33c
......@@ -476,6 +476,8 @@ static int join_request_frame(AVFilterLink *outlink)
frame->nb_samples = nb_samples;
frame->channel_layout = outlink->channel_layout;
av_frame_set_channels(frame, outlink->channels);
frame->format = outlink->format;
frame->sample_rate = outlink->sample_rate;
frame->pts = s->input_frames[0]->pts;
frame->linesize[0] = linesize;
......
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