diff options
author | Artem Galin <[email protected]> | 2020-07-17 16:55:20 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2020-07-20 16:56:43 +0100 |
commit | d25f593a7fd9f639b0e5d89e710d48fd3f39e39f (patch) | |
tree | 4125f235bbb332117e4c5e15d08eb5dccfac1ca1 /libhb/cropscale.c | |
parent | 990654edba2cd1fd1c81b28fe60e126ee3ee8ef9 (diff) |
qsv: reimplemented context memory management and small fixes
Diffstat (limited to 'libhb/cropscale.c')
-rw-r--r-- | libhb/cropscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/cropscale.c b/libhb/cropscale.c index 15ed199a4..c7522c2e0 100644 --- a/libhb/cropscale.c +++ b/libhb/cropscale.c @@ -97,7 +97,7 @@ static int crop_scale_init(hb_filter_object_t * filter, hb_filter_init_t * init) hb_dict_set_int(avsettings, "w", width); hb_dict_set_int(avsettings, "h", height); hb_dict_set(avfilter, "scale_qsv", avsettings); - int result = hb_create_ffmpeg_pool(width, height, AV_PIX_FMT_NV12, HB_POOL_SURFACE_SIZE, 0, &init->job->qsv.ctx->hb_vpp_qsv_frames_ctx->hw_frames_ctx); + int result = hb_create_ffmpeg_pool(width, height, AV_PIX_FMT_NV12, HB_QSV_POOL_SURFACE_SIZE, 0, &init->job->qsv.ctx->hb_vpp_qsv_frames_ctx->hw_frames_ctx); if (result < 0) { hb_error("hb_create_ffmpeg_pool vpp allocation failed"); |