From e3872d514987c3a7eda8e97d2daf6293db06a145 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 15 Nov 2023 19:13:55 -0500 Subject: [PATCH 62/68] codecs: h264encoder: Fix H.264 QP max value should be 51 as per spec. Upstream-Status: Pending --- gst-libs/gst/codecs/gsth264encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/codecs/gsth264encoder.c b/gst-libs/gst/codecs/gsth264encoder.c index 4c35956..032b57a 100644 --- a/gst-libs/gst/codecs/gsth264encoder.c +++ b/gst-libs/gst/codecs/gsth264encoder.c @@ -33,7 +33,7 @@ GST_DEBUG_CATEGORY (gst_h264_encoder_debug); #define H264ENC_DEFAULT_KEYFRAME_INTERVAL 30 -#define H264_MAX_QUALITY 63 +#define H264_MAX_QUALITY 51 #define H264_MIN_QUALITY 0 #define H264_DEFAULT_BITRATE 100000 -- 2.25.1