From 56ecc19067267cfa2262ec54814f9cad5805eddb Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Wed, 30 Sep 2020 10:33:59 -0300 Subject: [PATCH] v4l2codecs: h264: Set the scaling matrix present flag unconditionally We are currently always setting and passing a scaling matrix, so need to set this flag accordingly. Passing a scaling matrix optionally will be implemented in follow-up commit. Part-of: --- sys/v4l2codecs/gstv4l2codech264dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2codecs/gstv4l2codech264dec.c b/sys/v4l2codecs/gstv4l2codech264dec.c index d8cab64f3f..53efaddb1d 100644 --- a/sys/v4l2codecs/gstv4l2codech264dec.c +++ b/sys/v4l2codecs/gstv4l2codech264dec.c @@ -416,7 +416,7 @@ gst_v4l2_codec_h264_dec_fill_pps (GstV4l2CodecH264Dec * self, GstH264PPS * pps) | (pps->constrained_intra_pred_flag ? V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED : 0) | (pps->redundant_pic_cnt_present_flag ? V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT : 0) | (pps->transform_8x8_mode_flag ? V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE : 0) - | (pps->pic_scaling_matrix_present_flag ? V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT : 0), + | V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT, }; /* *INDENT-ON* */ }