From 0ec35fa111391b8069640ba2f616746a1b5530a5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Nov 2015 21:07:41 +0100 Subject: videotoolbox: make decoder format customizable Because apparently there's no ideal universally working format. The weird OpenGL texture format for kCVPixelFormatType_32BGRA is from: http://stackoverflow.com/questions/22077544/draw-an-iosurface-to-an-opengl-context (Which apparently got it from the linked Apple example code.) --- options/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/options.h') diff --git a/options/options.h b/options/options.h index 49387f388b..7c9046f50b 100644 --- a/options/options.h +++ b/options/options.h @@ -268,6 +268,7 @@ typedef struct MPOpts { int hwdec_api; char *hwdec_codecs; + int videotoolbox_format; int w32_priority; -- cgit v1.2.3