diff mbox series

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

Message ID 20200728225025.1830283-6-sw@jkqxz.net
State New
Headers show
Series [FFmpeg-devel,1/6] vaapi_encode_h265: Remove confusing and redundant tile options
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 July 28, 2020, 10:50 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 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;