diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-04 13:43:45 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-11-04 22:12:59 -0300 |
commit | 9e588125193115189b5a609eef6af678a55f6ecf (patch) | |
tree | 4e3e276196850ba4fa2250db21cc4410e8a45cd4 /libavformat/mux.c | |
parent | 6005c7e656962b4c6d13fe877828b4d24bf2974b (diff) |
avformat/mux: split side data before internal auto BSF
The bitstream filters do not work with merged in side data
This leaves the input packet split if it is being split.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mux.c')
-rw-r--r-- | libavformat/mux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c index 2dac381fcc..0d285f4a59 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -878,6 +878,9 @@ static int do_packet_auto_bsf(AVFormatContext *s, AVPacket *pkt) { } } + if (st->internal->nb_bsfcs) + av_packet_split_side_data(pkt); + for (i = 0; i < st->internal->nb_bsfcs; i++) { AVBSFContext *ctx = st->internal->bsfcs[i]; if (i > 0) { |