From 53fab20c6d5d13bc6baaa8321186ef6b3c8a8844 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Thu, 16 Feb 2017 10:53:48 -0800 Subject: 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. --- libmpv/opengl_cb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpv') 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. -- cgit v1.2.3