]> git.sesse.net Git - vlc/blobdiff - modules/control/showintf.c
* Get rid of the Manager thread by making blocking interfaces listen to
[vlc] / modules / control / showintf.c
index 55cc2713fa9ff584dfa429fd7f907ec620470f46..801987e90f2e07bfbe506438a18467d9411b590f 100644 (file)
@@ -116,7 +116,7 @@ static void RunIntf( intf_thread_t *p_intf )
     }
 
     /* Main loop */
-    while( !p_intf->b_die )
+    while( !intf_ShouldDie( p_intf ) )
     {
         vlc_mutex_lock( &p_intf->change_lock );
 
@@ -175,7 +175,7 @@ static void RunIntf( intf_thread_t *p_intf )
  *****************************************************************************/
 static int InitThread( intf_thread_t * p_intf )
 {
-    if( !p_intf->b_die )
+    if( !intf_ShouldDie( p_intf ) )
     {
         vlc_mutex_lock( &p_intf->change_lock );