diff options
author | wm4 <wm4@nowhere> | 2016-09-17 19:08:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-17 19:08:17 +0200 |
commit | b44d0751643be3755c8d6a0201301a3733f59808 (patch) | |
tree | 2be3392ab55daa59740b5756cf43392e560d40da /player | |
parent | b7d5cbd37506e10a2031b92fef1a9714cb63d617 (diff) | |
download | mpv-b44d0751643be3755c8d6a0201301a3733f59808.tar.bz2 mpv-b44d0751643be3755c8d6a0201301a3733f59808.tar.xz |
command: make window-scale redirect to option if no window created
For consistency with other properties that mirror options.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 381fc3e781..f4e2a0acd3 100644 --- a/player/command.c +++ b/player/command.c @@ -2617,7 +2617,7 @@ static int mp_property_window_scale(void *ctx, struct m_property *prop, MPContext *mpctx = ctx; struct vo *vo = mpctx->video_out; if (!vo) - return M_PROPERTY_UNAVAILABLE; + return mp_property_generic_option(mpctx, prop, action, arg); struct mp_image_params params = get_video_out_params(mpctx); int vid_w, vid_h; |