From 4a0bbe256ef866d0f80ee56af4d5fd4c65cd8d5b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 21 Sep 2014 16:01:53 +0200 Subject: command: allow changing some OSD-related options even with no VO If no VO was open, these options couldn't be changed or even queried. Although these properties are nearly useless if no VO exists, there's actually no good reason to forbid querying or setting them. Also, even if the VO is created, it doesn't mean the VO window was created. --- player/command.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/player/command.c b/player/command.c index 0c0b28d5f4..565fcf372e 100644 --- a/player/command.c +++ b/player/command.c @@ -2329,8 +2329,6 @@ static int property_osd_helper(void *ctx, struct m_property *prop, int action, void *arg) { MPContext *mpctx = ctx; - if (!mpctx->video_out) - return M_PROPERTY_UNAVAILABLE; if (action == M_PROPERTY_SET) osd_changed_all(mpctx->osd); return mp_property_generic_option(mpctx, prop, action, arg); -- cgit v1.2.3