From 2142f03031b29e75773b5cf781575e77344741aa Mon Sep 17 00:00:00 2001 From: Sil Vilerino Date: Thu, 17 Jul 2025 10:25:36 -0400 Subject: [PATCH] mediafoundation: Fix recon pic two pass VPBlit target Reviewed-by: Pohsiang (John) Hsu Part-of: --- src/gallium/frontends/mediafoundation/mftransform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/frontends/mediafoundation/mftransform.cpp b/src/gallium/frontends/mediafoundation/mftransform.cpp index e0d7fa44a3c..7c5b5337760 100644 --- a/src/gallium/frontends/mediafoundation/mftransform.cpp +++ b/src/gallium/frontends/mediafoundation/mftransform.cpp @@ -1186,7 +1186,7 @@ CDX12EncHMFT::xThreadProc( void *pCtx ) vpblit_params.dst_region.y1 = cur_pic_dpb_entry.downscaled_buffer->height; pThis->m_pPipeVideoBlitter->begin_frame( pThis->m_pPipeVideoBlitter, - pDX12EncodeContext->pDownscaledTwoPassPipeVideoBuffer, + cur_pic_dpb_entry.downscaled_buffer, &vpblit_params.base ); if( pThis->m_pPipeVideoBlitter->process_frame( pThis->m_pPipeVideoBlitter, @@ -1201,7 +1201,7 @@ CDX12EncHMFT::xThreadProc( void *pCtx ) } if( pThis->m_pPipeVideoBlitter->end_frame( pThis->m_pPipeVideoBlitter, - pDX12EncodeContext->pDownscaledTwoPassPipeVideoBuffer, + cur_pic_dpb_entry.downscaled_buffer, &vpblit_params.base ) != 0 ) { assert( false );