summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-03 01:37:13 +0200
committerwm4 <wm4@nowhere>2013-05-04 01:34:29 +0200
commit2cb147a2f40bcde48f5db321840f4dbd36ca796b (patch)
tree6b9f86619157c2c482a4fb579b34a5ff2c067860 /core
parent872aefaa1521a8cf70c6e14f3356e9d00ed7efa3 (diff)
downloadmpv-2cb147a2f40bcde48f5db321840f4dbd36ca796b.tar.bz2
mpv-2cb147a2f40bcde48f5db321840f4dbd36ca796b.tar.xz
video: support YCgCo colorspace
YCgCo can be manually selected, but will also be used if the decoder reports YCgCo. To make things more fun, files are sometimes marked incorrectly, which will display such broken files incorrectly starting with this commit.
Diffstat (limited to 'core')
-rw-r--r--core/cfg-mplayer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 65b95de7c0..7414d561bd 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -581,7 +581,8 @@ const m_option_t mplayer_opts[]={
({"auto", MP_CSP_AUTO},
{"BT.601", MP_CSP_BT_601},
{"BT.709", MP_CSP_BT_709},
- {"SMPTE-240M", MP_CSP_SMPTE_240M})),
+ {"SMPTE-240M", MP_CSP_SMPTE_240M},
+ {"YCgCo", MP_CSP_YCGCO})),
OPT_CHOICE("colormatrix-input-range", requested_input_range, 0,
({"auto", MP_CSP_LEVELS_AUTO},
{"limited", MP_CSP_LEVELS_TV},