[vlc-devel] [PATCH] macosx: save the right volume on exit

David Fuhrmann david.fuhrmann at googlemail.com
Sun Jan 22 22:43:20 CET 2012


---
 modules/gui/macosx/MainWindow.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index ab273f0..674e615 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -989,6 +989,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
     if( i_volume != i_lastShownVolume )
     {
+        i_lastShownVolume = i_volume;
         [o_volume_sld setIntValue: i_volume];
         [o_fspanel setVolumeLevel: i_volume];
     }
-- 
1.7.5.4




More information about the vlc-devel mailing list