extern "C"
{
/*****************************************************************************
* Local prototypes.
*****************************************************************************/
extern "C"
{
/*****************************************************************************
* Local prototypes.
*****************************************************************************/
/*****************************************************************************
* system_Init: create a BApplication object and fill in program path.
*****************************************************************************/
void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
/*****************************************************************************
* system_Init: create a BApplication object and fill in program path.
*****************************************************************************/
void system_Init( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv[] )
{
(vlc_object_t *)vlc_object_create( p_this, sizeof(vlc_object_t) );
/* Create the BApplication thread and wait for initialization */
(vlc_object_t *)vlc_object_create( p_this, sizeof(vlc_object_t) );
/* Create the BApplication thread and wait for initialization */
- vlc_thread_create( vlc_global()->p_appthread, "app thread", AppThread,
+ vlc_thread_create( p_appthread, "app thread", AppThread,
/*****************************************************************************
* AppThread: the BApplication thread.
*****************************************************************************/
/*****************************************************************************
* AppThread: the BApplication thread.
*****************************************************************************/
VlcApplication * BeApp =
new VlcApplication("application/x-vnd.videolan-vlc");
vlc_object_attach( p_this, p_this->p_libvlc );
VlcApplication * BeApp =
new VlcApplication("application/x-vnd.videolan-vlc");
vlc_object_attach( p_this, p_this->p_libvlc );