command: make window-scale redirect to option if no window created

For consistency with other properties that mirror options.
This commit is contained in:
wm4 2016-09-17 19:08:17 +02:00
parent b7d5cbd375
commit b44d075164
1 changed files with 1 additions and 1 deletions

View File

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