diff options
-rw-r--r-- | DOCS/man/input.rst | 3 | ||||
-rw-r--r-- | player/command.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index aa0c0593f1..80e00a4ede 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1349,6 +1349,9 @@ Property list ``video-params/rotate`` Intended display rotation in degrees (clockwise). + ``video-params/stereo-in`` + Source file stereo 3D mode. (See ``--video-stereo-mode`` option.) + When querying the property with the client API using ``MPV_FORMAT_NODE``, or with Lua ``mp.get_property_native``, this will return a mpv_node with the following contents: diff --git a/player/command.c b/player/command.c index 900e0cd6ed..6bc2047250 100644 --- a/player/command.c +++ b/player/command.c @@ -2391,6 +2391,10 @@ static int property_imgparams(struct mp_image_params p, int action, void *arg) SUB_PROP_STR(m_opt_choice_str(mp_csp_trc_names, p.gamma))}, {"chroma-location", SUB_PROP_STR(m_opt_choice_str(mp_chroma_names, p.chroma_location))}, + {"stereo-in", + SUB_PROP_STR(m_opt_choice_str(mp_stereo3d_names, p.stereo_in))}, + {"stereo-out", + SUB_PROP_STR(m_opt_choice_str(mp_stereo3d_names, p.stereo_out))}, {"rotate", SUB_PROP_INT(p.rotate)}, {0} }; |