[vlc-devel] commit: Grrr at subsubsubsubdirectories ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 14 10:17:28 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 14 11:20:25 2008 +0300| [8afb43f7a60c122350220ed1009c70b307a45d18] | committer: Rémi Denis-Courmont
Grrr at subsubsubsubdirectories
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8afb43f7a60c122350220ed1009c70b307a45d18
---
modules/gui/skins2/src/vlcproc.cpp | 2 +-
modules/misc/lua/libs/misc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/skins2/src/vlcproc.cpp b/modules/gui/skins2/src/vlcproc.cpp
index 9dddff2..3b01205 100644
--- a/modules/gui/skins2/src/vlcproc.cpp
+++ b/modules/gui/skins2/src/vlcproc.cpp
@@ -226,7 +226,7 @@ void VlcProc::dropVout()
void VlcProc::manage()
{
// Did the user request to quit vlc ?
- if( intf_ShouldDie( getIntf() ) )
+ if( !vlc_object_alive( getIntf() ) )
{
CmdQuit *pCmd = new CmdQuit( getIntf() );
AsyncQueue *pQueue = AsyncQueue::instance( getIntf() );
diff --git a/modules/misc/lua/libs/misc.c b/modules/misc/lua/libs/misc.c
index d9b8afa..bca7926 100644
--- a/modules/misc/lua/libs/misc.c
+++ b/modules/misc/lua/libs/misc.c
@@ -208,7 +208,7 @@ static int vlclua_mwait( lua_State *L )
static int vlclua_intf_should_die( lua_State *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;
}
More information about the vlc-devel
mailing list