ffmpeg: bitstream filters require split out side data
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f8de1caa6e
commit
e9602dcb4d
1 changed files with 3 additions and 0 deletions
3
ffmpeg.c
3
ffmpeg.c
|
|
@ -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…
Add table
Add a link
Reference in a new issue