VLC 4.0.0-dev
|
Callbacks for the owner of the player. More...
#include <vlc_player.h>
Data Fields | |
input_item_t *(* | get_next )(vlc_player_t *player, void *data) |
Called when the player requires a new media. More... | |
Callbacks for the owner of the player.
These callbacks are needed to control the player flow (via the vlc_playlist_t as a owner for example). It can only be set when creating the player via vlc_player_New().
All callbacks are called with the player locked (cf. vlc_player_Lock()), and from any thread (even the current one).
input_item_t *(* vlc_player_media_provider::get_next) (vlc_player_t *player, void *data) |
Called when the player requires a new media.
player | locked player instance |
data | opaque pointer set from vlc_player_New() |
Referenced by vlc_player_New(), and vlc_player_PrepareNextMedia().