diff mbox series

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

Message ID 20200813214613.489791-3-sw@jkqxz.net
State New
Headers show
Series [FFmpeg-devel,v2,1/3] vaapi_encode_h265: Ensure that tile sizes conform to profile constraints
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Mark Thompson Aug. 13, 2020, 9:46 p.m. UTC
We only make one PPS, so the tile structure necessarily fixed.
---
 libavcodec/vaapi_encode_h265.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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;