VLC 4.0.0-dev
|
Functions | |
void | vlc_player_SetRenderer (vlc_player_t *player, vlc_renderer_item_t *renderer) |
Set the renderer. More... | |
vlc_renderer_item_t * | vlc_player_GetRenderer (vlc_player_t *player) |
Get the renderer. More... | |
vlc_renderer_item_t * vlc_player_GetRenderer | ( | vlc_player_t * | player | ) |
Get the renderer.
player | locked player instance |
References vlc_player_input::player, vlc_player_t::renderer, and vlc_player_assert_locked().
void vlc_player_SetRenderer | ( | vlc_player_t * | player, |
vlc_renderer_item_t * | renderer | ||
) |
Set the renderer.
Valid for the current media and all future ones.
player | locked player instance |
renderer | a valid renderer item or NULL (to disable it), the item will be held by the player |
References INPUT_CONTROL_SET_RENDERER, input_ControlPushHelper(), vlc_value_t::p_address, vlc_player_input::player, vlc_player_t::renderer, vlc_player_assert_locked(), vlc_player_foreach_inputs, vlc_player_SendEvent, vlc_renderer_item_hold(), and vlc_renderer_item_release().