0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

command: fix osd-height property

This commit is contained in:
wm4 2014-03-07 21:46:24 +01:00
parent 3cd1cfb51c
commit b48d09a89d

View File

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