radeon/vcn/enc: Add missing line to HEVC SPS header code
authorThong Thai <thong.thai@amd.com>
Tue, 22 Jun 2021 17:47:52 +0000 (13:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Jun 2021 23:36:29 +0000 (23:36 +0000)
commitd977e7fbe107898480506fdd7bca9b177718587a
treed309a3a66b5f8ee0f3194dba89439459a07fb60e
parentd3fddf63ec9e3a70f3d8c5a98794d70a234417f7
radeon/vcn/enc: Add missing line to HEVC SPS header code

Add previously missing line in HEVC SPS header generation on VCN 1.0
devices, for when an image does not need to be cropped.

Fixes: e62c7e7c6ca ("radeon: Add cropping to encoded H.265 when padding is used")
Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11535>
src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c