Skip to content

msdkenc: Use mfxVideoParam to fill the mfxFrameSurface1 info

When call func gst_msdk_import_to_msdk_surface, we should use width/height/format from mfxVideoParam to fill mfx surface's info otherwise we will possibly have failure of mfxFrameSurface1 info's check in MediaSDK/OneVPL and get MFX_ERR_INVALID_VIDEO_PARAM.

Merge request reports