summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-10-19 16:47:56 -0700
committerwm4 <wm4@nowhere>2014-10-21 00:55:15 +0200
commit599c510902023fe718b80f86f7f1e60e50dd5664 (patch)
treeee99b50307d136ee5350a77ab8ab9c7106d22d21
parent40d6b5ca85e61252871158097e099916376a5dd4 (diff)
downloadmpv-599c510902023fe718b80f86f7f1e60e50dd5664.tar.bz2
mpv-599c510902023fe718b80f86f7f1e60e50dd5664.tar.xz
command: add field-dominance property
-rw-r--r--DOCS/man/input.rst3
-rw-r--r--player/command.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 4d30a3cf43..bc202d8d4c 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -950,6 +950,9 @@ Property list
``deinterlace`` (RW)
See ``--deinterlace``.
+``field-dominance`` (RW)
+ See ``--field-dominance``
+
``colormatrix`` (RW)
See ``--colormatrix``.
diff --git a/player/command.c b/player/command.c
index e4cd73131c..4e74b690c9 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2956,6 +2956,7 @@ static const struct m_property mp_properties[] = {
// Video
{"fullscreen", mp_property_fullscreen},
{"deinterlace", mp_property_deinterlace},
+ {"field-dominance", mp_property_generic_option},
{"colormatrix", mp_property_colormatrix},
{"colormatrix-input-range", mp_property_colormatrix_input_range},
{"colormatrix-output-range", mp_property_colormatrix_output_range},