[vlc-devel] commit: macosx: Disable messages for now (Derk-Jan Hartman )

git version control git at videolan.org
Wed Oct 15 21:44:35 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed Oct 15 21:44:20 2008 +0200| [50e9d38ad549b3e08f33340f3ca5f57a4cabe763] | committer: Derk-Jan Hartman 

macosx: Disable messages for now

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 4785786..0fc9b90 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -91,7 +91,7 @@ int OpenIntf ( vlc_object_t *p_this )
 
     p_intf->p_sys->o_pool = [[NSAutoreleasePool alloc] init];
 
-    p_intf->p_sys->p_sub = msg_Subscribe( p_intf );
+//    p_intf->p_sys->p_sub = msg_Subscribe( p_intf );
     p_intf->pf_run = Run;
     p_intf->b_should_run_on_first_thread = true;
 
@@ -105,7 +105,7 @@ void CloseIntf ( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t*) p_this;
 
-    msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
+//    msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
 
     [p_intf->p_sys->o_pool release];
 
@@ -2360,7 +2360,7 @@ end:
 - (void)updateMessageArray
 {
     int i_start, i_stop;
-
+#if 0
     vlc_mutex_lock( p_intf->p_sys->p_sub->p_lock );
     i_stop = *p_intf->p_sys->p_sub->pi_stop;
     vlc_mutex_unlock( p_intf->p_sys->p_sub->p_lock );
@@ -2418,6 +2418,7 @@ end:
         p_intf->p_sys->p_sub->i_start = i_start;
         vlc_mutex_unlock( p_intf->p_sys->p_sub->p_lock );
     }
+#endif
 }
 
 #pragma mark -




More information about the vlc-devel mailing list