Commit 8afb43f7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Grrr at subsubsubsubdirectories

parent 36aca393
...@@ -226,7 +226,7 @@ void VlcProc::dropVout() ...@@ -226,7 +226,7 @@ void VlcProc::dropVout()
void VlcProc::manage() void VlcProc::manage()
{ {
// Did the user request to quit vlc ? // Did the user request to quit vlc ?
if( intf_ShouldDie( getIntf() ) ) if( !vlc_object_alive( getIntf() ) )
{ {
CmdQuit *pCmd = new CmdQuit( getIntf() ); CmdQuit *pCmd = new CmdQuit( getIntf() );
AsyncQueue *pQueue = AsyncQueue::instance( getIntf() ); AsyncQueue *pQueue = AsyncQueue::instance( getIntf() );
......
...@@ -208,7 +208,7 @@ static int vlclua_mwait( lua_State *L ) ...@@ -208,7 +208,7 @@ static int vlclua_mwait( lua_State *L )
static int vlclua_intf_should_die( lua_State *L ) static int vlclua_intf_should_die( lua_State *L )
{ {
intf_thread_t *p_intf = (intf_thread_t*)vlclua_get_this( L ); intf_thread_t *p_intf = (intf_thread_t*)vlclua_get_this( L );
lua_pushboolean( L, intf_ShouldDie( p_intf ) ); lua_pushboolean( L, !vlc_object_alive( p_intf ) );
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment