mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/scale_qsv: change alignment to be 16 bytes
32 bytes alignment is not needed and increases the failure possibilty of SFC (low power scaling mode) Signed-off-by: Zhong Li <zhong.li@intel.com>
This commit is contained in:
parent
655ff4708b
commit
d252d1c2e9
|
@ -201,8 +201,8 @@ static int init_out_pool(AVFilterContext *ctx,
|
|||
out_frames_hwctx = out_frames_ctx->hwctx;
|
||||
|
||||
out_frames_ctx->format = AV_PIX_FMT_QSV;
|
||||
out_frames_ctx->width = FFALIGN(out_width, 32);
|
||||
out_frames_ctx->height = FFALIGN(out_height, 32);
|
||||
out_frames_ctx->width = FFALIGN(out_width, 16);
|
||||
out_frames_ctx->height = FFALIGN(out_height, 16);
|
||||
out_frames_ctx->sw_format = out_format;
|
||||
out_frames_ctx->initial_pool_size = 4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue