VLC  3.0.15
Functions
thread.c File Reference
Include dependency graph for thread.c:

Functions

static void * Thread (void *data)
 Run the main control thread itself. More...
 
void playlist_Activate (playlist_t *p_playlist)
 Creates the main playlist thread. More...
 
void playlist_Deactivate (playlist_t *p_playlist)
 Stops the playlist forever (but do not destroy it yet). More...
 
static int InputEvent (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)
 
void ResyncCurrentIndex (playlist_t *p_playlist, playlist_item_t *p_cur)
 Synchronise the current index of the playlist to match the index of the current item. More...
 
void ResetCurrentlyPlaying (playlist_t *p_playlist, playlist_item_t *p_cur)
 Reset the currently playing playlist. More...
 
static bool PlayItem (playlist_t *p_playlist, playlist_item_t *p_item)
 Start the input for an item. More...
 
static playlist_item_tNextItem (playlist_t *p_playlist)
 Compute the next playlist item depending on the playlist course mode (forward, backward, random, view,...). More...
 
static bool LoopInput (playlist_t *p_playlist)
 
static bool Next (playlist_t *p_playlist)
 

Function Documentation

◆ InputEvent()

static int InputEvent ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ LoopInput()

static bool LoopInput ( playlist_t p_playlist)
static

Referenced by Thread().

◆ Next()

static bool Next ( playlist_t p_playlist)
static

Referenced by Thread().

◆ NextItem()

static playlist_item_t* NextItem ( playlist_t p_playlist)
static

◆ PlayItem()

static bool PlayItem ( playlist_t p_playlist,
playlist_item_t p_item 
)
static

◆ Thread()

static void * Thread ( void *  data)
static