summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-09-26 19:13:26 +0200
committerwm4 <wm4@nowhere>2017-09-26 19:13:26 +0200
commit9b60398f4e2710e304eb4bbb51ed70e0b8523845 (patch)
tree9af483e3ac1fb5a7cdc0b4420a4c1b86fd21135c /video/out
parenta730717281c08934c3b6a00313881ecc9280ad5c (diff)
downloadmpv-9b60398f4e2710e304eb4bbb51ed70e0b8523845.tar.bz2
mpv-9b60398f4e2710e304eb4bbb51ed70e0b8523845.tar.xz
video: remove old videotoolbox support
Like as in previous commits, you need a very recent FFmpeg (probably git master).
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/hwdec_ios.m4
-rw-r--r--video/out/opengl/hwdec_osx.c4
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);