[MPlayer-cvslog] CVS: main mplayer.c,1.913,1.914
Diego Biurrun CVS
syncmail at mplayerhq.hu
Sat Mar 18 19:48:17 CET 2006
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv25728
Modified Files:
mplayer.c
Log Message:
Print the mute state on the OSD.
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.913
retrieving revision 1.914
diff -u -r1.913 -r1.914
--- mplayer.c 18 Mar 2006 18:13:22 -0000 1.913
+++ mplayer.c 18 Mar 2006 18:48:14 -0000 1.914
@@ -1056,6 +1056,7 @@
#define OSD_MSG_OSD_STATUS 4
#define OSD_MSG_BAR 5
#define OSD_MSG_PAUSE 6
+#define OSD_MSG_MUTE 7
// These will later be implemented via properties and removed
#define OSD_MSG_AV_DELAY 100
@@ -3323,6 +3324,8 @@
if ((edl_muted | user_muted) != mixer.muted)
#endif
mixer_mute(&mixer);
+ set_osd_msg(OSD_MSG_MUTE,1,osd_duration, MSGTR_OSDMute,
+ mixer.muted ? MSGTR_OSDenabled : MSGTR_OSDdisabled);
break;
case MP_CMD_LOADFILE : {
play_tree_t* e = play_tree_new();
More information about the MPlayer-cvslog
mailing list