[FFmpeg-cvslog] lavfi/vf_avgblur_opencl: remove useless clFinish().

Ruiling Song git at videolan.org
Thu Jul 12 01:06:31 EEST 2018


ffmpeg | branch: master | Ruiling Song <ruiling.song at intel.com> | Wed Jul  4 02:16:25 2018 +0800| [923ee63d6cd140e1f957c838b1d062ca4fb73580] | committer: Mark Thompson

lavfi/vf_avgblur_opencl: remove useless clFinish().

The very last clFinish() should be ok.

Signed-off-by: Ruiling Song <ruiling.song at intel.com>
Reviewed-by: Danil Iashchenko <danyaschenko at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=923ee63d6cd140e1f957c838b1d062ca4fb73580
---

 libavfilter/vf_avgblur_opencl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c
index bc6bcab682..99ed1ca307 100644
--- a/libavfilter/vf_avgblur_opencl.c
+++ b/libavfilter/vf_avgblur_opencl.c
@@ -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);



More information about the ffmpeg-cvslog mailing list