summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2017-02-16 10:53:48 -0800
committerAman Gupta <aman@tmm1.net>2017-02-17 11:43:24 -0800
commit53fab20c6d5d13bc6baaa8321186ef6b3c8a8844 (patch)
tree043bf28bdd6c2a18971e4af5ee6129edda3099eb /libmpv
parentf02752c0d591a3aea3f5ad5d98855a505f369510 (diff)
downloadmpv-53fab20c6d5d13bc6baaa8321186ef6b3c8a8844.tar.bz2
mpv-53fab20c6d5d13bc6baaa8321186ef6b3c8a8844.tar.xz
vo_opengl: implement videotoolbox hwdec on iOS
Implements --hwdec=videotoolbox on iOS. Similar to hwdec_osx.c, but using CVPixelBuffer APIs available on iOS instead of the equivalent IOSurface APIs in macOS.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/opengl_cb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpv/opengl_cb.h b/libmpv/opengl_cb.h
index 0c14f0f2de..42241c9283 100644
--- a/libmpv/opengl_cb.h
+++ b/libmpv/opengl_cb.h
@@ -129,6 +129,7 @@ extern "C" {
* as well, if you have recent enough drivers and the
* "hwaccel" option is set to "cuda" as well)
* - OSX: CGL is required (CGLGetCurrentContext() returning non-NULL)
+ * - iOS: EAGL is required (EAGLContext.currentContext returning non-nil)
*
* Once these things are setup, hardware decoding can be enabled/disabled at
* any time by setting the "hwdec" property.