diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/hwdec_ios.m | 4 | ||||
-rw-r--r-- | video/out/opengl/hwdec_osx.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/video/out/opengl/hwdec_ios.m b/video/out/opengl/hwdec_ios.m index 8c353bf46f..b55230292e 100644 --- a/video/out/opengl/hwdec_ios.m +++ b/video/out/opengl/hwdec_ios.m @@ -29,7 +29,6 @@ #include "video/out/gpu/hwdec.h" #include "video/mp_image_pool.h" -#include "video/vt.h" #include "ra_gl.h" struct priv_owner { @@ -71,14 +70,11 @@ static int init(struct ra_hwdec *hw) p->hwctx = (struct mp_hwdec_ctx){ .type = HWDEC_VIDEOTOOLBOX, - .download_image = mp_vt_download_image, .ctx = &p->hwctx, }; -#if HAVE_VIDEOTOOLBOX_HWACCEL_NEW av_hwdevice_ctx_create(&p->hwctx.av_device_ref, AV_HWDEVICE_TYPE_VIDEOTOOLBOX, NULL, NULL, 0); -#endif hwdec_devices_add(hw->devs, &p->hwctx); diff --git a/video/out/opengl/hwdec_osx.c b/video/out/opengl/hwdec_osx.c index cfd5f52e7b..0e72f1511c 100644 --- a/video/out/opengl/hwdec_osx.c +++ b/video/out/opengl/hwdec_osx.c @@ -30,7 +30,6 @@ #include "video/mp_image_pool.h" #include "video/out/gpu/hwdec.h" -#include "video/vt.h" #include "ra_gl.h" struct priv_owner { @@ -72,14 +71,11 @@ static int init(struct ra_hwdec *hw) p->hwctx = (struct mp_hwdec_ctx){ .type = HWDEC_VIDEOTOOLBOX, - .download_image = mp_vt_download_image, .ctx = &p->hwctx, }; -#if HAVE_VIDEOTOOLBOX_HWACCEL_NEW av_hwdevice_ctx_create(&p->hwctx.av_device_ref, AV_HWDEVICE_TYPE_VIDEOTOOLBOX, NULL, NULL, 0); -#endif hwdec_devices_add(hw->devs, &p->hwctx); |