[FFmpeg-cvslog] libavutil & opencl: remove opencl default device type
Lenny Wang
git at videolan.org
Mon Dec 2 12:19:12 CET 2013
ffmpeg | branch: master | Lenny Wang <lenny at multicorewareinc.com> | Sat Nov 30 01:27:57 2013 -0600| [7b2534b0ea9220b358f6e161e1bb63af6504cdb4] | committer: 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: Stefano Sabatini <stefasab at gmail.com>
Reviewed-by: highgod0401 <highgod0401 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b2534b0ea9220b358f6e161e1bb63af6504cdb4
---
libavutil/opencl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index ae4c476..8654c25 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;
More information about the ffmpeg-cvslog
mailing list