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 975D34407E for ; Thu, 24 Nov 2022 09:20:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0E33968B5E3; Thu, 24 Nov 2022 11:20:13 +0200 (EET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AB95268B49D for ; Thu, 24 Nov 2022 11:20:05 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669281610; x=1700817610; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ePA+s03Hd9WRjbuf6Jn1Xx7hcxqre5o33YcoES26uPY=; b=hcP7a7YQB8o0OnTgBOncKhej9ZfsSCuAbGcpucbq9kgaj1aMe7utE9sY iEG0/IzHuc7LHi9/nRdPvuWm0iY7vsW3bRMepSx7L5u/RTBUzKjAY0W1l 6K/2xhp2KAt6zdi9AGMURWGRY5w4hcjDq6OYz0Hk/4jg29RTWCpOpij9M M6hBChuGhAiAd5cpR16BSHi4w9KTd15Cy1VIqeA7Gsm5XjUS8t75MGCuw yrAQa3NBIQzK/5+N87qXQwnYfbvgYM+0i/pJCaiRUXOWi3hkOitoilGOO GT1vzKB1zZxLJc/SkLChEfCtFCt299yMkygVm2LsNIiz40padJn6aJEPh A==; X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="297619614" X-IronPort-AV: E=Sophos;i="5.96,190,1665471600"; d="scan'208";a="297619614" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2022 01:20:00 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="731078375" X-IronPort-AV: E=Sophos;i="5.96,190,1665471600"; d="scan'208";a="731078375" Received: from xhh-tgl64.sh.intel.com ([10.238.2.19]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2022 01:19:59 -0800 From: "Xiang, Haihao" To: ffmpeg-devel@ffmpeg.org Date: Thu, 24 Nov 2022 17:19:30 +0800 Message-Id: <20221124091930.558046-4-haihao.xiang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221124091930.558046-1-haihao.xiang@intel.com> References: <20221124091930.558046-1-haihao.xiang@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/4] lavf/vf_vpp_qsv: scale_mode can be applied to color conversion 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 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 Signed-off-by: Haihao Xiang --- libavfilter/vf_vpp_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c index 4a053f9145..17f2989245 100644 --- a/libavfilter/vf_vpp_qsv.c +++ b/libavfilter/vf_vpp_qsv.c @@ -492,7 +492,7 @@ static int config_output(AVFilterLink *outlink) } } - if (inlink->w != outlink->w || inlink->h != outlink->h) { + if (inlink->w != outlink->w || inlink->h != outlink->h || in_format != vpp->out_format) { if (QSV_RUNTIME_VERSION_ATLEAST(mfx_version, 1, 19)) { memset(&vpp->scale_conf, 0, sizeof(mfxExtVPPScaling)); vpp->scale_conf.Header.BufferId = MFX_EXTBUFF_VPP_SCALING; -- 2.25.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".