mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/vf_avgblur_opencl: remove useless clFinish().
The very last clFinish() should be ok. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Reviewed-by: Danil Iashchenko <danyaschenko@gmail.com>
This commit is contained in:
parent
48a1abed13
commit
923ee63d6c
|
@ -228,7 +228,6 @@ static int avgblur_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
|
|||
0, NULL, NULL);
|
||||
CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue horizontal "
|
||||
"kernel: %d.\n", cle);
|
||||
cle = clFinish(ctx->command_queue);
|
||||
|
||||
err = ff_opencl_filter_work_size_from_image(avctx, global_work,
|
||||
i == 0 ? output : intermediate, p, 0);
|
||||
|
|
Loading…
Reference in New Issue