command: add video-stereo-mode property

Enables runtime change of the option.

Fixes #2994.
This commit is contained in:
wm4 2016-03-28 19:40:47 +02:00
parent d73d5327b3
commit e1264d3976
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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},