[vlc-devel] commit: macosx: re-enable AppleRemote support for 64bit builds ( Felix Paul Kühne )

git version control git at videolan.org
Mon Jun 15 16:21:24 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun 15 15:43:52 2009 +0200| [6e92f7834a7fe73d63ba2eb94bdfe7548de5e4e5] | committer: Felix Paul Kühne 

macosx: re-enable AppleRemote support for 64bit builds

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 3b96807..c9f328b 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -334,11 +334,9 @@ static VLCMain *_o_sharedMainInstance = nil;
 
     i_lastShownVolume = -1;
 
-#ifndef __x86_64__
     o_remote = [[AppleRemote alloc] init];
     [o_remote setClickCountEnabledButtons: kRemoteButtonPlay];
     [o_remote setDelegate: _o_sharedMainInstance];
-#endif
 
     o_eyetv = [[VLCEyeTVController alloc] init];
 
@@ -1014,16 +1012,12 @@ static NSString * VLCToolbarMediaControl     = @"VLCToolbarMediaControl";
 - (void)applicationDidBecomeActive:(NSNotification *)aNotification
 {
     if( !p_intf ) return;
-#ifndef __x86_64__
     [o_remote startListening: self];
-#endif
 }
 - (void)applicationDidResignActive:(NSNotification *)aNotification
 {
     if( !p_intf ) return;
-#ifndef __x86_64__
     [o_remote stopListening: self];
-#endif
 }
 
 /* Triggered when the computer goes to sleep */




More information about the vlc-devel mailing list