From b48d09a89dd14616e5ae4e9d017b921486d5f541 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 7 Mar 2014 21:46:24 +0100 Subject: command: fix osd-height property --- 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 0b135d187f..c797a81800 100644 --- a/player/command.c +++ b/player/command.c @@ -1740,7 +1740,7 @@ static int mp_property_osd_h(m_option_t *prop, int action, void *arg, MPContext *mpctx) { struct mp_osd_res vo_res = osd_get_vo_res(mpctx->osd, OSDTYPE_OSD); - return m_property_int_ro(prop, action, arg, vo_res.w); + return m_property_int_ro(prop, action, arg, vo_res.h); } static int mp_property_osd_par(m_option_t *prop, int action, void *arg, -- cgit v1.2.3