[FFmpeg-devel] [PATCH v2 3/3] vaapi_encode_h265: Set tiles_fixed_structure_flag

Mark Thompson sw at jkqxz.net
Fri Aug 14 00:46:13 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 d2bcb8d3db..dbd8c77f6d 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.28.0



More information about the ffmpeg-devel mailing list