]> git.sesse.net Git - vlc/commitdiff
pulse: ensure a report is sent if no stream is available
authorErwan Tulou <erwan10@videolan.org>
Thu, 21 Mar 2013 14:31:20 +0000 (15:31 +0100)
committerErwan Tulou <erwan10@videolan.org>
Thu, 21 Mar 2013 15:04:35 +0000 (16:04 +0100)
modules/audio_output/pulse.c

index 8ca3d4d8efef6fd3ef6eaa436e3331dabfbbbe61..f2135b059e2a3d544b44b984fc411886fdc7d5be 100644 (file)
@@ -648,6 +648,7 @@ static int MuteSet(audio_output_t *aout, bool mute)
         sys->flags_force &= ~(PA_STREAM_START_MUTED|PA_STREAM_START_UNMUTED);
         sys->flags_force |=
             mute ? PA_STREAM_START_MUTED : PA_STREAM_START_UNMUTED;
+        aout_MuteReport(aout, mute);
         return 0;
     }