mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mux: Apply auto bsfs in av_write_frame() too
Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
de9674c5ea
commit
a2c90d5f98
|
@ -893,6 +893,10 @@ int av_write_frame(AVFormatContext *s, AVPacket *pkt)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = do_packet_auto_bsf(s, pkt);
|
||||||
|
if (ret <= 0)
|
||||||
|
return ret;
|
||||||
|
|
||||||
#if FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX
|
#if FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX
|
||||||
ret = compute_muxer_pkt_fields(s, s->streams[pkt->stream_index], pkt);
|
ret = compute_muxer_pkt_fields(s, s->streams[pkt->stream_index], pkt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue