Commit ba24af04 authored by Haihao Xiang's avatar Haihao Xiang Committed by Víctor Manuel Jáquez Leal

msdk: set right BitDepth and Shift for Y410 mfx frame

BitDepth is 10 and Shitf must be set to 0 when creating Y410 mfx
frame in MSDK
parent 84a46f04
......@@ -294,6 +294,15 @@ gst_msdk_set_mfx_frame_info_from_video_info (mfxFrameInfo * mfx_info,
#if (MFX_VERSION >= 1027)
case MFX_FOURCC_Y410:
mfx_info->BitDepthLuma = 10;
mfx_info->BitDepthChroma = 10;
mfx_info->Shift = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment