VLC 4.0.0-dev
Loading...
Searching...
No Matches
libvlc.c File Reference

This file contains functions to create and destroy libvlc instances. More...

Include dependency graph for libvlc.c:

Functions

static void GetFilenames (libvlc_int_t *, unsigned, const char *const [])
 
libvlc_int_tlibvlc_InternalCreate (void)
 Allocate a blank libvlc instance, also setting the exit handler.
 
static void libvlc_AddInterfaces (libvlc_int_t *libvlc, const char *varname)
 
int libvlc_InternalInit (libvlc_int_t *p_libvlc, int i_argc, const char *ppsz_argv[])
 Initialize a libvlc instance This function initializes a previously allocated libvlc instance:
 
void libvlc_InternalCleanup (libvlc_int_t *p_libvlc)
 Cleanup a libvlc instance.
 
void libvlc_InternalDestroy (libvlc_int_t *p_libvlc)
 Destroy libvlc instance.
 
static void PlaylistConfigureFromVariables (vlc_playlist_t *playlist, vlc_object_t *obj)
 
vlc_playlist_tlibvlc_GetMainPlaylist (libvlc_int_t *libvlc)
 

Detailed Description

This file contains functions to create and destroy libvlc instances.

Function Documentation

◆ GetFilenames()

static void GetFilenames ( libvlc_int_t p_vlc,
unsigned  n,
const char * const  args[] 
)
static

◆ libvlc_AddInterfaces()

static void libvlc_AddInterfaces ( libvlc_int_t libvlc,
const char *  varname 
)
static

◆ libvlc_GetMainPlaylist()

◆ libvlc_InternalCleanup()

◆ libvlc_InternalCreate()

libvlc_int_t * libvlc_InternalCreate ( void  )

Allocate a blank libvlc instance, also setting the exit handler.

Vlc's threading system must have been initialized first

References libvlc_priv_t::exit, libvlc_priv_t::interfaces, libvlc_priv(), libvlc_priv_t::lock, libvlc_priv_t::main_playlist, libvlc_priv_t::media_source_provider, libvlc_priv_t::p_vlm, vlc_custom_create, vlc_ExitInit(), and vlc_mutex_init().

◆ libvlc_InternalDestroy()

void libvlc_InternalDestroy ( libvlc_int_t p_libvlc)

Destroy libvlc instance.

Parameters
p_libvlcthe instance to destroy

References vlc_object_delete.

◆ libvlc_InternalInit()

◆ PlaylistConfigureFromVariables()