mirror of https://github.com/mpv-player/mpv
command: make window-scale redirect to option if no window created
For consistency with other properties that mirror options.
This commit is contained in:
parent
b7d5cbd375
commit
b44d075164
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue