diff options
author | highgod0401 <highgod0401@gmail.com> | 2013-05-06 09:54:28 +0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-06 12:08:22 +0200 |
commit | e215cb5e9670f8149d8486ddc9f09277fc0ba8cc (patch) | |
tree | 204283beba62f7f90ad28f1e10e99c3e086d04b3 /libavfilter/unsharp_opencl.c | |
parent | 41aa19999858f6517fc1a82dafc726182d2a8b19 (diff) | |
download | ffmpeg-e215cb5e9670f8149d8486ddc9f09277fc0ba8cc.tar.gz |
lavfi/unsharp_opencl: use av_opencl_errstr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/unsharp_opencl.c')
-rw-r--r-- | libavfilter/unsharp_opencl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/unsharp_opencl.c b/libavfilter/unsharp_opencl.c index d0c25ee3ab..91a1292367 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); |