mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
lavc/vvc_parser: Remove max_b_frames setting
We don't used the max_b_frames field in decoder normally Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
parent
277f051ff6
commit
d9f72eb107
@ -187,7 +187,6 @@ static void set_parser_ctx(AVCodecParserContext *s, AVCodecContext *avctx,
|
||||
|
||||
avctx->has_b_frames = (sps->sps_max_sublayers_minus1 + 1) > 2 ? 2 :
|
||||
sps->sps_max_sublayers_minus1;
|
||||
avctx->max_b_frames = sps->sps_max_sublayers_minus1;
|
||||
|
||||
if (sps->sps_ptl_dpb_hrd_params_present_flag &&
|
||||
sps->sps_timing_hrd_params_present_flag) {
|
||||
|
Loading…
Reference in New Issue
Block a user