Unified · Split
| @@ -189,7 +189,7 @@ int ff_opencl_apply_unsharp(AVFilterContext *ctx, AVFrame *in, AVFrame *out) · 188 unmodified lines | ||
| 189 | 189 | unsharp->opencl_ctx.kernel_env.kernel, 1, NULL, |
| 190 | 190 | &global_work_size, NULL, 0, NULL, NULL); |
| 191 | 191 | if (status != CL_SUCCESS) { |
| 192 | − av_log(ctx, AV_LOG_ERROR, "OpenCL run kernel error occurred: %d\n", status); | |
| 192 | + av_log(ctx, AV_LOG_ERROR, "OpenCL run kernel error occurred: %s\n", av_opencl_errstr(status)); | |
| 193 | 193 | return AVERROR_EXTERNAL; |
| 194 | 194 | } |
| 195 | 195 | clFinish(unsharp->opencl_ctx.kernel_env.command_queue); |