forked from FFmpeg/FFmpeg
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: Ruiling Song <ruiling.song@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
6d5a6dde53
commit
8ca39b855a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue