Skip to content

Commit

Permalink
[VP] Fix youtube playback green when HDR on/off swithching
Browse files Browse the repository at this point in the history
Fix youtube playback green when HDR on/off swithching.
  • Loading branch information
Alex1Zhang authored and intel-mediadev committed Dec 11, 2023
1 parent 5e5d3d6 commit 26582cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,10 @@ MOS_STATUS VpPacketReuseManager::PreparePacketPipeReuse(SwFilterPipe *&swFilterP
// unreused feature && nullptr != swfilter
m_reusable = false;
isPacketPipeReused = false;
if (m_pipeReused)
{
m_packetPipeFactory.ReturnPacketPipe(m_pipeReused);
}
return MOS_STATUS_SUCCESS;
}
else
Expand Down
4 changes: 2 additions & 2 deletions media_softlet/agnostic/common/vp/hal/utils/vp_dumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ MOS_STATUS VpSurfaceDumper::DumpSurfaceToFile(
}

VP_DEBUG_CHK_STATUS(MosUtilities::MosWriteFileFromPtr(sOsPath, pDst, dwSize));

VP_PUBLIC_NORMALMESSAGE("VP surface dump to %s", sOsPath);
#if !EMUL
// Dump Aux surface data
if (hasAuxSurf && enableAuxDump)
Expand Down Expand Up @@ -1524,7 +1524,7 @@ MOS_STATUS VpSurfaceDumper::DumpSurfaceToFile(
}

VP_DEBUG_CHK_STATUS(MosUtilities::MosWriteFileFromPtr(sOsPath, pDst, dwSize));

VP_PUBLIC_NORMALMESSAGE("VP surface dump to %s", sOsPath);
finish:
MOS_SafeFreeMemory(pDst);

Expand Down

0 comments on commit 26582cc

Please sign in to comment.