Skip to content
Snippets Groups Projects
Commit 8ca39b85 authored by Ruiling Song's avatar Ruiling Song Committed by Luca Barbato
Browse files

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: default avatarRuiling Song <ruiling.song@intel.com>
Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent 6d5a6dde
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment