The bitstream filters do not work with merged in side data This leaves the input packet split if it is being split. It could be merged again, if thats preferred ? That would involve an extra malloc and memcpy though
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavformat/mux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mux.c b/libavformat/mux.c index 06d87de..3a19364 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) { -- 2.10.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel