From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E629543C4B for ; Tue, 23 Aug 2022 06:20:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3BC5268BA1C; Tue, 23 Aug 2022 09:20:14 +0300 (EEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1C75168B937 for ; Tue, 23 Aug 2022 09:20:07 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661235613; x=1692771613; h=from:to:cc:subject:date:message-id; bh=gC0oPZTH/ccnm+8X5MzfEFbu5wtu8vjLBSK6Cc8wxEc=; b=Tf1WRJ+KHxxeMHOjRzvFN8X2aWszUkxaYUIBI2BEYa30tYm6eI0LX2S9 UQUovJmkhIyMSyQZUTn+9j4nQ9XBqq90fbhY+6Yk0rSc0g+UshYDFpN29 ByYxxZbJlBK7QckVZzLOZDRaC5mNwWQ2CwsJ/fOqSkaUa6asx2cL70T8g ni/keqcimVxaIYKdmeCiO/lDTQkRWo+uSEfr9YVkmrwbtMcqpanKUzDMG 2cqMIVvTJj1ejUIhr8eJJL2iXdOzGtZ2r+m+VOwTN7ag595eKSV85pHp6 gh53wWjiCif0IlkeCBYgT9CjtKU5db7vJsyPV7euIl4/y2MZQwFUhDda2 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="379892643" X-IronPort-AV: E=Sophos;i="5.93,256,1654585200"; d="scan'208";a="379892643" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 23:20:05 -0700 X-IronPort-AV: E=Sophos;i="5.93,256,1654585200"; d="scan'208";a="585845463" Received: from xhh-dg164.sh.intel.com ([10.238.5.169]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 23:20:04 -0700 From: "Xiang, Haihao" To: ffmpeg-devel@ffmpeg.org Date: Tue, 23 Aug 2022 14:19:04 +0800 Message-Id: <20220823061905.4702-1-haihao.xiang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: ignore video signal info buffer for VP9 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Haihao Xiang MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Haihao Xiang The SDK doesn't support this type of buffer for vp9 encoding Signed-off-by: Haihao Xiang --- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 202a645ea2..f1838ce597 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -970,7 +970,7 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q) q->extvsi.MatrixCoefficients = avctx->colorspace; } - if (q->extvsi.VideoFullRange || q->extvsi.ColourDescriptionPresent) { + if ((avctx->codec_id != AV_CODEC_ID_VP9) && (q->extvsi.VideoFullRange || q->extvsi.ColourDescriptionPresent)) { q->extvsi.Header.BufferId = MFX_EXTBUFF_VIDEO_SIGNAL_INFO; q->extvsi.Header.BufferSz = sizeof(q->extvsi); q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extvsi; -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".