aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/opencl.c
diff options
context:
space:
mode:
authorLenny Wang <lenny@multicorewareinc.com>2013-11-30 01:27:57 -0600
committerMichael Niedermayer <michaelni@gmx.at>2013-12-02 12:07:27 +0100
commit7b2534b0ea9220b358f6e161e1bb63af6504cdb4 (patch)
treeba5aa3d9de8e9acaf1b5dbfb395b96533e025b24 /libavutil/opencl.c
parent749eb46d643a440892ae1d0f36f2a9d0b003d78b (diff)
downloadffmpeg-7b2534b0ea9220b358f6e161e1bb63af6504cdb4.tar.gz
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: Stefano Sabatini <stefasab@gmail.com> Reviewed-by: highgod0401 <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/opencl.c')
-rw-r--r--libavutil/opencl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index ae4c476396..8654c25b90 100644
--- a/libavutil/opencl.c
+++ b/libavutil/opencl.c
@@ -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;