[vlc-commits] macosx: fixed corner-case in which the play button state wasn' t updated correctly (close #6204)

Felix Paul Kühne git at videolan.org
Sat Mar 24 13:42:09 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Mar 24 13:41:53 2012 +0100| [5785e63a719e64fa00a5b98ba658444cd7653b75] | committer: Felix Paul Kühne

macosx: fixed corner-case in which the play button state wasn't updated correctly (close #6204)

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index ea59fe7..988652a 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1419,7 +1419,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
         if( p_current_input )
         {
             var_AddCallback( p_current_input, "intf-event", InputEvent, [VLCMain sharedInstance] );
-
+            [self playbackStatusUpdated];
             [o_mainmenu setRateControlsEnabled: YES];
             if ( [self activeVideoPlayback] && [[o_mainwindow videoView] isHidden] )
                 [o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO];



More information about the vlc-commits mailing list