Commit 8ca39b85 authored by Ruiling Song's avatar Ruiling Song Committed by Luca Barbato

qsv: Default PicStruct to progressive

The PicStruct is required by MediaSDK, so give a default value.
hwupload does not work without this.
Signed-off-by: 's avatarRuiling Song <ruiling.song@intel.com>
Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 6d5a6dde
......@@ -313,6 +313,7 @@ static int qsv_init_surface(AVHWFramesContext *ctx, mfxFrameSurface1 *surf)
surf->Info.CropH = ctx->height;
surf->Info.FrameRateExtN = 25;
surf->Info.FrameRateExtD = 1;
surf->Info.PicStruct = MFX_PICSTRUCT_PROGRESSIVE;
return 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