diff --git a/libavfilter/unsharp_opencl.c b/libavfilter/unsharp_opencl.c index d0c25ee3abc1fefa168118aead20f5737e95421e..91a12923673e0d569a01e757a7029adf4c6bdb5f 100644 --- a/libavfilter/unsharp_opencl.c +++ b/libavfilter/unsharp_opencl.c @@ -189,7 +189,7 @@ int ff_opencl_apply_unsharp(AVFilterContext *ctx, AVFrame *in, AVFrame *out) unsharp->opencl_ctx.kernel_env.kernel, 1, NULL, &global_work_size, NULL, 0, NULL, NULL); if (status != CL_SUCCESS) { - av_log(ctx, AV_LOG_ERROR, "OpenCL run kernel error occurred: %d\n", status); + av_log(ctx, AV_LOG_ERROR, "OpenCL run kernel error occurred: %s\n", av_opencl_errstr(status)); return AVERROR_EXTERNAL; } clFinish(unsharp->opencl_ctx.kernel_env.command_queue);