summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-08 15:08:23 +0200
committerwm4 <wm4@nowhere>2016-04-08 15:08:23 +0200
commit89571312bfa76b9512b3fb17db0b58e315d60d0e (patch)
treee5ec7bd4b3776c6e02f27938cf08eaba167a8fc1
parent5f4b246bcc031e166f76f5721e07faccfb788c8b (diff)
downloadmpv-89571312bfa76b9512b3fb17db0b58e315d60d0e.tar.bz2
mpv-89571312bfa76b9512b3fb17db0b58e315d60d0e.tar.xz
command: add keepaspect property
Just a bridge to the option. (Did I ever mention that I hate the property/option separation.)
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 4f6cb1b0ff..8a4e9805f1 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3677,6 +3677,7 @@ static const struct m_property mp_properties[] = {
{"video-output-levels", mp_property_video_color,
.priv = (void *)"output-levels"},
{"panscan", panscan_property_helper},
+ {"keepaspect", panscan_property_helper},
{"video-zoom", panscan_property_helper},
{"video-align-x", panscan_property_helper},
{"video-align-y", panscan_property_helper},