diff options
author | wm4 <wm4@nowhere> | 2014-10-29 23:14:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-29 23:14:46 +0100 |
commit | aa6b7fa07baa0066efb774deed8cb826e6193deb (patch) | |
tree | 418df4cd8e0000ae06efc9d68c3778c356fccca1 /video/csputils.h | |
parent | fb4d26e769b847881ee6fb2577816d68b622e2c1 (diff) | |
download | mpv-aa6b7fa07baa0066efb774deed8cb826e6193deb.tar.bz2 mpv-aa6b7fa07baa0066efb774deed8cb826e6193deb.tar.xz |
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.
Diffstat (limited to 'video/csputils.h')
-rw-r--r-- | video/csputils.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 }; |