History

lavfi/unsharp_opencl: use av_opencl_errstr

highgod0401 committed 13 years ago

Commit e215cb51 parent 41aa1991 file · +1 −1Browse files

Unified · Split

libavfilter/unsharp_opencl.c+1−1
@@ -189,7 +189,7 @@ int ff_opencl_apply_unsharp(AVFilterContext *ctx, AVFrame *in, AVFrame *out) · 188 unmodified lines
189189 unsharp->opencl_ctx.kernel_env.kernel, 1, NULL,
190190 &global_work_size, NULL, 0, NULL, NULL);
191191 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));
193193 return AVERROR_EXTERNAL;
194194 }
195195 clFinish(unsharp->opencl_ctx.kernel_env.command_queue);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t