summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-03-28 19:40:47 +0200
committerwm4 <wm4@nowhere>2016-03-28 19:40:47 +0200
commite1264d397613b0dac86757d6fd3a4a3494e16868 (patch)
tree937c55eb7e61d50d941cebce15c946b40a06a94b
parentd73d5327b38f2a5ac46af25a3709fbd50776d5b7 (diff)
downloadmpv-e1264d397613b0dac86757d6fd3a4a3494e16868.tar.bz2
mpv-e1264d397613b0dac86757d6fd3a4a3494e16868.tar.xz
command: add video-stereo-mode property
Enables runtime change of the option. Fixes #2994.
-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 4244997111..241f6740fb 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1851,6 +1851,9 @@ Property list
``video-rotate`` (RW)
See ``--video-rotate`` option.
+``video-stereo-mode`` (RW)
+ See ``--video-stereo-mode`` option.
+
``seekable``
Return whether it's generally possible to seek in the current file.
diff --git a/player/command.c b/player/command.c
index 07b9128cc8..8ca22eb946 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3737,6 +3737,7 @@ static const struct m_property mp_properties[] = {
{"af", mp_property_af},
{"video-rotate", video_simple_refresh_property},
+ {"video-stereo-mode", video_simple_refresh_property},
{"ab-loop-a", mp_property_ab_loop},
{"ab-loop-b", mp_property_ab_loop},