Mercurial > mplayer.hg
diff command.c @ 29870:eeb60773d668
Show OSD message when enabling/disabling de-interlacing.
Patch by Eric Yager, e_yager1977 A verizon D net
author | cehoyos |
---|---|
date | Sat, 14 Nov 2009 12:46:14 +0000 |
parents | 415169f556ed |
children | 25ff7b370523 |
line wrap: on
line diff
--- a/command.c Fri Nov 13 15:26:16 2009 +0000 +++ b/command.c Sat Nov 14 12:46:14 2009 +0000 @@ -1020,6 +1020,8 @@ 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;