VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_player_vout_cbs Struct Reference

Player vout callbacks. More...

#include <vlc_player.h>

Data Fields

void(* on_fullscreen_changed )(vout_thread_t *vout, bool enabled, void *data)
 Called when the player and/or vout fullscreen state has changed.
 
void(* on_wallpaper_mode_changed )(vout_thread_t *vout, bool enabled, void *data)
 Called when the player and/or vout wallpaper mode has changed.
 

Detailed Description

Player vout callbacks.

Can be registered with vlc_player_vout_AddListener().

Note
The state changed from the callbacks can be either applied on the player (and all future video outputs), or on a specified video output. The state is applied on the player when the vout argument is NULL.
Warning
To avoid deadlocks, users should never call vout_thread_t and vlc_player_t functions from these callbacks.

Field Documentation

◆ on_fullscreen_changed

void(* vlc_player_vout_cbs::on_fullscreen_changed) (vout_thread_t *vout, bool enabled, void *data)

Called when the player and/or vout fullscreen state has changed.

See also
vlc_player_vout_SetFullscreen()
Parameters
voutcf. vlc_player_vout_cbs note
enabledtrue when fullscreen is enabled
dataopaque pointer set by vlc_player_vout_AddListener()

◆ on_wallpaper_mode_changed

void(* vlc_player_vout_cbs::on_wallpaper_mode_changed) (vout_thread_t *vout, bool enabled, void *data)

Called when the player and/or vout wallpaper mode has changed.

See also
vlc_player_vout_SetWallpaperModeEnabled()
Parameters
voutcf. vlc_player_vout_cbs note
enabledtrue when wallpaper mode is enabled
dataopaque pointer set by vlc_player_vout_AddListener()

The documentation for this struct was generated from the following file: