mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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
3
ffmpeg.c
3
ffmpeg.c
@ -597,6 +597,9 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
|
|||||||
ost->frame_number++;
|
ost->frame_number++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (bsfc)
|
||||||
|
av_packet_split_side_data(pkt);
|
||||||
|
|
||||||
while (bsfc) {
|
while (bsfc) {
|
||||||
AVPacket new_pkt = *pkt;
|
AVPacket new_pkt = *pkt;
|
||||||
int a = av_bitstream_filter_filter(bsfc, avctx, NULL,
|
int a = av_bitstream_filter_filter(bsfc, avctx, NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user