summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-30 23:54:19 +0200
committerwm4 <wm4@nowhere>2014-08-30 23:54:19 +0200
commit94140e08971822b75168cac014fa037f76db3828 (patch)
tree8f899b0ff0d0431496dada1ecac974e1eb84c9b6 /video/csputils.h
parent8599c959fe9334bc4d226faf813166ef8bc8efd5 (diff)
downloadmpv-94140e08971822b75168cac014fa037f76db3828.tar.bz2
mpv-94140e08971822b75168cac014fa037f76db3828.tar.xz
csputils: adjust comment
Make it clear that the value is linked to the StereoMode element. You can't change this without adjusting demux_mkv.c.
Diffstat (limited to 'video/csputils.h')
-rw-r--r--video/csputils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/csputils.h b/video/csputils.h
index 1a559ebfd2..a99fe5b280 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -79,9 +79,11 @@ enum mp_render_intent {
MP_INTENT_ABSOLUTE_COLORIMETRIC = 3
};
+// The numeric values (except -1) match the Matroska StereoMode element value.
enum mp_stereo3d_mode {
MP_STEREO3D_INVALID = -1,
MP_STEREO3D_MONO = 0,
+ /* no explicit enum entries for most valid values */
MP_STEREO3D_COUNT = 13, // 12 is last valid mode
};