[FFmpeg-cvslog] avformat/mux: split side data before internal auto BSF
Michael Niedermayer
git at videolan.org
Sat Nov 5 03:14:58 EET 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Nov 4 13:43:45 2016 +0100| [9e588125193115189b5a609eef6af678a55f6ecf] | committer: James Almer
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 at niedermayer.cc>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e588125193115189b5a609eef6af678a55f6ecf
---
libavformat/mux.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 2dac381..0d285f4 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) {
More information about the ffmpeg-cvslog
mailing list