From c068b82b4fa0769cde89e02a29fa7e700363e425 Mon Sep 17 00:00:00 2001 From: gfxVPLsdm Date: Thu, 7 Sep 2023 21:44:46 +0800 Subject: [PATCH] Revert "[Encode] Change vaSyncSurface from Raw to Recon " (#5775) This reverts commit b89476f8bed87f6b752f04ac9ded0ef2e38ea463 Co-authored-by: pinglux --- .../encode_hw/av1/linux/base/av1ehw_base_va_packer_lin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_studio/mfx_lib/encode_hw/av1/linux/base/av1ehw_base_va_packer_lin.cpp b/_studio/mfx_lib/encode_hw/av1/linux/base/av1ehw_base_va_packer_lin.cpp index bf19a5c3f6..a512b2650d 100644 --- a/_studio/mfx_lib/encode_hw/av1/linux/base/av1ehw_base_va_packer_lin.cpp +++ b/_studio/mfx_lib/encode_hw/av1/linux/base/av1ehw_base_va_packer_lin.cpp @@ -861,7 +861,7 @@ void VAPacker::SubmitTask(const FeatureBlocks& blocks, TPushST Push) } } - SetFeedback(task.StatusReportId, task.Rec.Idx, GetResources(RES_BS).at(task.BS.Idx)); + SetFeedback(task.StatusReportId, *(VASurfaceID*)task.HDLRaw.first, GetResources(RES_BS).at(task.BS.Idx)); return MFX_ERR_NONE; });