]> git.sesse.net Git - vlc/commitdiff
If LibVLC is closing, any interface should close, not just the main one
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 15:18:04 +0000 (15:18 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 15:18:04 +0000 (15:18 +0000)
include/vlc_interface.h

index 2bf65b151964daf9058f153644b25106bedecd30..157752188352aad03935192142da0502bf7b0459 100644 (file)
@@ -123,7 +123,7 @@ VLC_EXPORT( void,              intf_Destroy,    ( intf_thread_t * ) );
 
 /* If the interface is in the main thread, it should listen both to
  * p_intf->b_die and p_libvlc->b_die */
-#define intf_ShouldDie( p_intf ) (p_intf->b_die || (p_intf->b_block && p_intf->p_libvlc->b_die ) )
+#define intf_ShouldDie( p_intf ) (p_intf->b_die || p_intf->p_libvlc->b_die )
 
 #define intf_Eject(a,b) __intf_Eject(VLC_OBJECT(a),b)
 VLC_EXPORT( int, __intf_Eject, ( vlc_object_t *, const char * ) );