Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
29869:c266883dd527 | 29870:eeb60773d668 |
---|---|
1018 case M_PROPERTY_STEP_UP: | 1018 case M_PROPERTY_STEP_UP: |
1019 case M_PROPERTY_STEP_DOWN: | 1019 case M_PROPERTY_STEP_DOWN: |
1020 vf->control(vf, VFCTRL_GET_DEINTERLACE, &deinterlace); | 1020 vf->control(vf, VFCTRL_GET_DEINTERLACE, &deinterlace); |
1021 deinterlace = !deinterlace; | 1021 deinterlace = !deinterlace; |
1022 vf->control(vf, VFCTRL_SET_DEINTERLACE, &deinterlace); | 1022 vf->control(vf, VFCTRL_SET_DEINTERLACE, &deinterlace); |
1023 set_osd_msg(OSD_MSG_SPEED, 1, osd_duration, MSGTR_OSDDeinterlace, | |
1024 deinterlace ? MSGTR_Enabled : MSGTR_Disabled); | |
1023 return M_PROPERTY_OK; | 1025 return M_PROPERTY_OK; |
1024 } | 1026 } |
1025 return M_PROPERTY_NOT_IMPLEMENTED; | 1027 return M_PROPERTY_NOT_IMPLEMENTED; |
1026 } | 1028 } |
1027 | 1029 |