diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-28 18:12:47 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-28 18:29:14 +0400 |
commit | e0dd8cadcc386a168e7acd079463880154086446 (patch) | |
tree | 897a4d2a7f5ff01f2b06d424bed9ba2edad373db /libavfilter | |
parent | 37bdf33cffd2f3bb4d4c07ef38a5649fd980639f (diff) |
af_join: fix channel count and format
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_join.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/af_join.c b/libavfilter/af_join.c index 8dffda0a31..ac3b76ca9d 100644 --- a/libavfilter/af_join.c +++ b/libavfilter/af_join.c @@ -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; |