VLC 4.0.0-dev
vlc_player_timer_smpte_cbs Struct Reference

Player smpte timer callbacks. More...

#include <vlc_player.h>

Data Fields

void(* on_update )(const struct vlc_player_timer_smpte_timecode *tc, void *data)
 Called when a new frame is displayed. More...
 

Detailed Description

Player smpte timer callbacks.

See also
vlc_player_AddSmpteTimer

Field Documentation

◆ on_update

void(* vlc_player_timer_smpte_cbs::on_update) (const struct vlc_player_timer_smpte_timecode *tc, void *data)

Called when a new frame is displayed.

Warning
The player is not locked from this callback. It is forbidden to call any player functions from here.
Parameters
tcalways valid, the timecode corresponding to the frame just displayed
dataopaque pointer set by vlc_player_AddTimer()

Referenced by vlc_player_SendSmpteTimerSourceUpdates().


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