mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
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;
|
||||
}
|
||||
|
||||
ret = do_packet_auto_bsf(s, pkt);
|
||||
if (ret <= 0)
|
||||
return ret;
|
||||
|
||||
#if FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX
|
||||
ret = compute_muxer_pkt_fields(s, s->streams[pkt->stream_index], pkt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user