VLC 4.0.0-dev
video_text.c File Reference
Include dependency graph for video_text.c:

Data Structures

struct  osd_spu_updater_sys_t
 

Functions

static int OSDTextValidate (subpicture_t *subpic, bool has_src_changed, const video_format_t *fmt_src, bool has_dst_changed, const video_format_t *fmt_dst, vlc_tick_t ts)
 
static void OSDTextUpdate (subpicture_t *subpic, const video_format_t *fmt_src, const video_format_t *fmt_dst, vlc_tick_t ts)
 
static void OSDTextDestroy (subpicture_t *subpic)
 
void vout_OSDText (vout_thread_t *vout, int channel, int position, vlc_tick_t duration, const char *text)
 Write an informative message if the OSD option is enabled. More...
 
void vout_OSDMessageVa (vout_thread_t *vout, int channel, const char *format, va_list args)
 Write an informative message at the default location, for the default duration and only if the OSD option is enabled. More...
 

Function Documentation

◆ OSDTextDestroy()

static void OSDTextDestroy ( subpicture_t subpic)
static

◆ OSDTextUpdate()

◆ OSDTextValidate()

static int OSDTextValidate ( subpicture_t subpic,
bool  has_src_changed,
const video_format_t fmt_src,
bool  has_dst_changed,
const video_format_t fmt_dst,
vlc_tick_t  ts 
)
static

References VLC_EGENERIC, VLC_SUCCESS, and VLC_UNUSED.

Referenced by vout_OSDText().