From aa6b7fa07baa0066efb774deed8cb826e6193deb Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 29 Oct 2014 23:14:46 +0100 Subject: vo_opengl: draw OSD twice in 3D mode case Apparently this is needed for correct 3D mode subtitles. In general, it seems you need to duplicate the whole "GUI", so it's done for all OSD elements. This doesn't handle the "duplication" of the mouse pointer. Instead, the mouse can be used for the top/left field only. Also, it's possible that we should "compress" the OSD in the direction it's duplicated, but I don't know about that. Fixes #1124, at least partially. --- video/csputils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'video/csputils.h') diff --git a/video/csputils.h b/video/csputils.h index a99fe5b280..a494a06b28 100644 --- a/video/csputils.h +++ b/video/csputils.h @@ -82,7 +82,12 @@ enum mp_render_intent { // The numeric values (except -1) match the Matroska StereoMode element value. enum mp_stereo3d_mode { MP_STEREO3D_INVALID = -1, + /* only modes explicitly referenced in the code are listed */ MP_STEREO3D_MONO = 0, + MP_STEREO3D_SBS2L = 1, + MP_STEREO3D_AB2R = 2, + MP_STEREO3D_AB2L = 3, + MP_STEREO3D_SBS2R = 11, /* no explicit enum entries for most valid values */ MP_STEREO3D_COUNT = 13, // 12 is last valid mode }; -- cgit v1.2.3