[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:44:02 CET 2012


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

macosx: fixed corner-case in which the play button state wasn't updated correctly (close #6204)
(cherry picked from commit 5785e63a719e64fa00a5b98ba658444cd7653b75)

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

 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 91d6424..f3dc1f9 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1418,7 +1418,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