changeset 19227:af80fca5c998

Set user_muted in mp_property_mute(). Fixes mute turning off when seeking.
author uau
date Fri, 28 Jul 2006 23:17:45 +0000
parents fe0bf7e210e1
children 96ace3405a4c
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Jul 28 21:51:13 2006 +0000
+++ b/mplayer.c	Fri Jul 28 23:17:45 2006 +0000
@@ -1541,11 +1541,13 @@
         if(!arg) return 0;
         if((!!*(int*)arg) != mixer.muted)
             mixer_mute(&mixer);
+        user_muted = mixer.muted;
         return 1;
     case M_PROPERTY_STEP_UP:
     case M_PROPERTY_STEP_DOWN:
         if(edl_muted) return M_PROPERTY_DISABLED;
         mixer_mute(&mixer);
+        user_muted = mixer.muted;
         return 1;
     case M_PROPERTY_PRINT:
         if(!arg) return 0;