From b44d0751643be3755c8d6a0201301a3733f59808 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 17 Sep 2016 19:08:17 +0200 Subject: command: make window-scale redirect to option if no window created For consistency with other properties that mirror options. --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/command.c') 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; -- cgit v1.2.3