VLC 4.0.0-dev
|
This file contains functions related to interface management. More...
Functions | |
static int | AddIntfCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
vlc_playlist_t * | vlc_intf_GetMainPlaylist (intf_thread_t *intf) |
Recover the main playlist from an interface module. | |
int | intf_Create (libvlc_int_t *libvlc, const char *chain) |
Create and start an interface. | |
int | intf_InsertItem (libvlc_int_t *libvlc, const char *mrl, unsigned optc, const char *const *optv, unsigned flags) |
Inserts an item in the playlist. | |
void | libvlc_InternalPlay (libvlc_int_t *libvlc) |
static void | libvlc_AutoRun (libvlc_int_t *libvlc) |
int | libvlc_InternalAddIntf (libvlc_int_t *libvlc, const char *name) |
Starts an interface plugin. | |
void | intf_DestroyAll (libvlc_int_t *libvlc) |
Stops and destroys all interfaces, then the playlist. | |
This file contains functions related to interface management.
|
static |
References intf_Create(), msg_Err, vlc_value_t::psz_string, var, and vlc_object_instance.
Referenced by intf_Create(), and intf_DestroyAll().
void intf_DestroyAll | ( | libvlc_int_t * | libvlc | ) |
Stops and destroys all interfaces, then the playlist.
libvlc | the LibVLC instance |
References AddIntfCallback(), config_ChainDestroy(), libvlc_priv_t::interfaces, libvlc_priv(), libvlc_priv_t::lock, module_unneed, intf_thread_t::p_cfg, intf_thread_t::p_module, intf_thread_t::p_next, var_DelCallback(), vlc_mutex_lock(), vlc_mutex_unlock(), and vlc_object_delete.
Referenced by libvlc_InternalCleanup().
int intf_InsertItem | ( | libvlc_int_t * | libvlc, |
const char * | mrl, | ||
unsigned | optc, | ||
const char *const * | optv, | ||
unsigned | flags | ||
) |
Inserts an item in the playlist.
This function is used during initialization. It inserts an item to the beginning of the playlist. That is meant to compensate for the reverse parsing order of the command line.
References input_item_AddOptions(), input_item_New, input_item_Release(), libvlc_GetMainPlaylist(), unlikely, vlc_playlist_InsertOne(), vlc_playlist_Lock(), vlc_playlist_Unlock(), and VLC_SUCCESS.
Referenced by GetFilenames(), and libvlc_InternalInit().
|
static |
References vlc_object_t::logger, libvlc_int_t::obj, vlc_module_map(), and vlc_module_match().
Referenced by libvlc_InternalAddIntf().
int libvlc_InternalAddIntf | ( | libvlc_int_t * | libvlc, |
const char * | name | ||
) |
Starts an interface plugin.
References _, intf_Create(), libvlc_AutoRun(), msg_Err, msg_Info, name, var_InheritString(), and VLC_SUCCESS.
Referenced by libvlc_AddInterfaces(), system_Configure(), and system_ConfigureDbus().
void libvlc_InternalPlay | ( | libvlc_int_t * | libvlc | ) |