Commit 7b2534b0 authored by Lenny Wang's avatar Lenny Wang Committed by Michael Niedermayer

libavutil & opencl: remove opencl default device type

CL_DEVICE_TYPE_DEFAULT makes duplicated device entries for each
platform using av_opencl_get_device_list()
Reviewed-by: 's avatarStefano Sabatini <stefasab@gmail.com>
Reviewed-by: 's avatarhighgod0401 <highgod0401@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 749eb46d
......@@ -98,7 +98,7 @@ static const AVClass openclutils_class = {
static OpenclContext opencl_ctx = {&openclutils_class};
static const cl_device_type device_type[] = {CL_DEVICE_TYPE_GPU, CL_DEVICE_TYPE_CPU, CL_DEVICE_TYPE_DEFAULT};
static const cl_device_type device_type[] = {CL_DEVICE_TYPE_GPU, CL_DEVICE_TYPE_CPU};
typedef struct {
int err_code;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment