[FFmpeg-devel] OpenCL: convert meaningless "device id" output to "device name"

Timothy Gu timothygu99 at gmail.com
Sun Sep 15 02:28:01 CEST 2013


On Sep 10, 2013 1:09 AM, "highgod0401" <highgod0401 at gmail.com> wrote:

>              /*
>               * Use available platform.
>               */
> -            av_log(opencl_ctx, AV_LOG_VERBOSE, "Platform Name: %s,
device id: 0x%x\n",
> +            av_log(opencl_ctx, AV_LOG_VERBOSE, "Platform Name: %s,
Device Name: %s\n",
>
opencl_ctx->device_list.platform_node[opencl_ctx->platform_idx]->platform_name,
> -                   (unsigned int)opencl_ctx->device_id);
> +                   device_node->device_name);
>              cps[0] = CL_CONTEXT_PLATFORM;
>               cps[1] = (cl_context_properties)opencl_ctx->platform_id;
>               cps[2] = 0;
>
> Shouldn't the "Device Name" be written as "device name"?

Lenny, why don't you fix this capitalization before asking us to apply the
patch?

[...]

Timothy


More information about the ffmpeg-devel mailing list