}
-VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ), m_pVoutWindow( NULL ),
- m_pVout( NULL )
+VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
+ m_pVoutWindow( NULL ), m_pVout( NULL )
{
// Create a timer to poll the status of the vlc
OSFactory *pOsFactory = OSFactory::instance( pIntf );
{
vlc_object_release( getIntf()->p_sys->p_input );
}
+
+ // Callbacks for vout requests
+ getIntf()->pf_request_window = NULL;
+ getIntf()->pf_release_window = NULL;
+ getIntf()->pf_control_window = NULL;
+
+ var_DelCallback( getIntf()->p_sys->p_playlist, "intf-change",
+ onIntfChange, this );
+ var_DelCallback( getIntf()->p_sys->p_playlist, "playlist-current",
+ onPlaylistChange, this );
+ var_DelCallback( getIntf()->p_sys->p_playlist, "item-change",
+ onItemChange, this );
}
* bookmarks.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2004 VideoLAN
- * $Id: bookmarks.cpp 6961 2004-03-05 17:34:23Z sam $
+ * $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
*
FIND_ANYWHERE );
if( p_playlist )
{
- /* Some global changes happened -> Rebuild all */
- var_DelCallback( p_playlist, "intf-change", PlaylistChanged, this );
-
+ var_DelCallback( p_playlist, "playlist-current",
+ PlaylistChanged, this );
vlc_object_release( p_playlist );
}
}
if( vout_Control( p_vout, VOUT_REPARENT ) != VLC_SUCCESS )
vout_Control( p_vout, VOUT_CLOSE );
}
+
+ p_intf->pf_request_window = NULL;
+ p_intf->pf_release_window = NULL;
+ p_intf->pf_control_window = NULL;
vlc_mutex_unlock( &lock );
vlc_mutex_destroy( &lock );