[vlc-commits] macosx: save the current volume in intended variable

David Fuhrmann git at videolan.org
Sun Jan 29 23:49:25 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sun Jan 22 22:41:22 2012 +0100| [c6775ab91ad00b8e574cdd5936967d19a00b1ccd] | committer: Jean-Baptiste Kempf

macosx: save the current volume in intended variable

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>
(cherry picked from commit 4a869d394f8e3423b3bbade4f96100723748d4b1)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=c6775ab91ad00b8e574cdd5936967d19a00b1ccd
---

 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 4c77aab..17ffef8 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -988,6 +988,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];
     }



More information about the vlc-commits mailing list