[FFmpeg-devel] [PATCH 6/6] vaapi_encode_h265: Set tiles_fixed_structure_flag

Mark Thompson sw at jkqxz.net
Wed Jul 29 01:50:25 EEST 2020


We only make one PPS, so the tile structure necessarily fixed.
---
 libavcodec/vaapi_encode_h265.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c
index b0c6d63ea2..b454d560c7 100644
--- a/libavcodec/vaapi_encode_h265.c
+++ b/libavcodec/vaapi_encode_h265.c
@@ -528,6 +528,7 @@ static int vaapi_encode_h265_init_sequence_params(AVCodecContext *avctx)
     vui->vui_hrd_parameters_present_flag     = 0;
 
     vui->bitstream_restriction_flag    = 1;
+    vui->tiles_fixed_structure_flag    = 1;
     vui->motion_vectors_over_pic_boundaries_flag = 1;
     vui->restricted_ref_pic_lists_flag = 1;
     vui->max_bytes_per_pic_denom       = 0;
-- 
2.27.0



More information about the ffmpeg-devel mailing list