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:
committed by
Mark Thompson
parent
48a1abed13
commit
923ee63d6c
@@ -228,7 +228,6 @@ static int avgblur_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
|
|||||||
0, NULL, NULL);
|
0, NULL, NULL);
|
||||||
CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue horizontal "
|
CL_FAIL_ON_ERROR(AVERROR(EIO), "Failed to enqueue horizontal "
|
||||||
"kernel: %d.\n", cle);
|
"kernel: %d.\n", cle);
|
||||||
cle = clFinish(ctx->command_queue);
|
|
||||||
|
|
||||||
err = ff_opencl_filter_work_size_from_image(avctx, global_work,
|
err = ff_opencl_filter_work_size_from_image(avctx, global_work,
|
||||||
i == 0 ? output : intermediate, p, 0);
|
i == 0 ? output : intermediate, p, 0);
|
||||||
|
Reference in New Issue
Block a user