diff options
author | John Stebbins <[email protected]> | 2017-06-12 10:21:46 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2017-06-12 10:21:46 -0700 |
commit | e8e6af1ec69651c540fd04ae5417c77a8dc1c9ae (patch) | |
tree | a1cbcad17a6b9742dd208b38a2d5295550cba9cd /libhb/scan.c | |
parent | c72396f91d2b9535f3873d8dd5dc8b7ea1b4c28e (diff) |
opencl: removit it (#777)
It was only used for scaling, it fails far too often and is only
faster on a limited selectoin of hardware.
Diffstat (limited to 'libhb/scan.c')
-rw-r--r-- | libhb/scan.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index 9d8b84049..e117e58fc 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -8,7 +8,6 @@ */ #include "hb.h" -#include "opencl.h" #include "hbffmpeg.h" typedef struct @@ -1013,13 +1012,6 @@ skip_preview: title->video_decode_support = vid_info.video_decode_support; - // TODO: check video dimensions - hb_handle_t *hb_handle = (hb_handle_t *)data->h; - if (hb_get_opencl_enabled(hb_handle)) - { - title->opencl_support = !!hb_opencl_available(); - } - // compute the aspect ratio based on the storage dimensions and PAR. hb_reduce(&title->dar.num, &title->dar.den, title->geometry.par.num * title->geometry.width, |