summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-07 21:46:24 +0100
committerwm4 <wm4@nowhere>2014-03-09 00:19:35 +0100
commitb48d09a89dd14616e5ae4e9d017b921486d5f541 (patch)
tree3935b24f0f51a835bf11aedd1ee3dde05cf5acb2 /player/command.c
parent3cd1cfb51cb2e29aa7b1f301b55b723a0c2a44ee (diff)
downloadmpv-b48d09a89dd14616e5ae4e9d017b921486d5f541.tar.bz2
mpv-b48d09a89dd14616e5ae4e9d017b921486d5f541.tar.xz
command: fix osd-height property
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
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,