From b411278fbb00767b8013604157a43e0203f66f4c Mon Sep 17 00:00:00 2001 From: cehoyos Date: Sat, 14 Nov 2009 12:46:14 +0000 Subject: Show OSD message when enabling/disabling de-interlacing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29912 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command.c') diff --git a/command.c b/command.c index 779296dc98..1edcc42bcb 100644 --- a/command.c +++ b/command.c @@ -1020,6 +1020,8 @@ static int mp_property_deinterlace(m_option_t * prop, int action, vf->control(vf, VFCTRL_GET_DEINTERLACE, &deinterlace); deinterlace = !deinterlace; vf->control(vf, VFCTRL_SET_DEINTERLACE, &deinterlace); + set_osd_msg(OSD_MSG_SPEED, 1, osd_duration, MSGTR_OSDDeinterlace, + deinterlace ? MSGTR_Enabled : MSGTR_Disabled); return M_PROPERTY_OK; } return M_PROPERTY_NOT_IMPLEMENTED; -- cgit v1.2.3