Skip to content

Commit 34ec1df

Browse files
pengxin99Sherry-Lin
authored andcommitted
[Decode] Fix VC1d issue when frame_type is NONE_PICTURE.
FFMpeg-qsv splits the bitstream into AVpackets, the small AVpackets may cause this issue.
1 parent c8d63b0 commit 34ec1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_studio/mfx_lib/decode/vc1/src/mfx_vc1_decode.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@ mfxStatus MFXVideoDECODEVC1::DecodeFrameCheck(mfxBitstream *bs,
20892089
pEntryPoint->pParam = pAsyncSurface;
20902090
pEntryPoint->pRoutineName = (char *)"DecodeVC1";
20912091

2092-
if (MFX_ERR_NONE == mfxSts)
2092+
if (MFX_ERR_NONE == mfxSts && (m_InternMediaDataOut.GetFrameType() != NONE_PICTURE))
20932093
{
20942094
FillMFXDataOutputSurface(*surface_out);
20952095
}

0 commit comments

Comments
 (0)