Skip to content

Commit

Permalink
[vp8d/vp9d] Fix PicStruct in Query
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Ermilov <[email protected]>
  • Loading branch information
dmitryermilov committed Jul 17, 2020
1 parent 84efc0a commit 7424e6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _studio/mfx_lib/shared/src/mfx_vpx_dec_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,16 @@ namespace MFX_VPX_Utility
sts = MFX_ERR_UNSUPPORTED;
}

switch (p_in->mfx.FrameInfo.PicStruct)
{
case MFX_PICSTRUCT_UNKNOWN:
case MFX_PICSTRUCT_PROGRESSIVE:
p_out->mfx.FrameInfo.PicStruct = p_in->mfx.FrameInfo.PicStruct;
break;
default:
sts = MFX_ERR_UNSUPPORTED;
break;
}

if (p_in->mfx.ExtendedPicStruct)
sts = MFX_ERR_UNSUPPORTED;
Expand Down

0 comments on commit 7424e6a

Please sign in to comment.