Browse Source

ffmpeg: bitstream filters require split out side data

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
e9602dcb4d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ffmpeg.c

+ 3
- 0
ffmpeg.c View File

@@ -597,6 +597,9 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
ost->frame_number++;
}

if (bsfc)
av_packet_split_side_data(pkt);

while (bsfc) {
AVPacket new_pkt = *pkt;
int a = av_bitstream_filter_filter(bsfc, avctx, NULL,


Loading…
Cancel
Save