VLC  3.0.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
subpicture_t Struct Reference

Video subtitle. More...

Collaboration diagram for subpicture_t:
Collaboration graph

Data Fields

 region list composing this subtitle More...
subpicture_updater_t updater
Channel ID
int i_channel
 subpicture channel ID More...
Type and flags

Should NOT be modified except by the vout thread

int64_t i_order
 an increasing unique number More...
Date properties
mtime_t i_start
 beginning of display date More...
mtime_t i_stop
 end of display date More...
bool b_ephemer
 If this flag is set to true the subtitle will be displayed untill the next one appear. More...
bool b_fade
 enable fading More...
Display properties

These properties are only indicative and may be changed by the video output thread, or simply ignored depending of the subtitle type.

bool b_subtitle
 the picture is a movie subtitle More...
bool b_absolute
 position is absolute More...
int i_original_picture_width
 original width of the movie More...
int i_original_picture_height
 original height of the movie More...
int i_alpha
 transparency More...

Detailed Description

Video subtitle.

Any subtitle destined to be displayed by a video output thread should be stored in this structure from it's creation to it's effective display. Subtitle type and flags should only be modified by the output thread. Note that an empty subtitle MUST have its flags set to 0.

Field Documentation

bool subpicture_t::b_absolute
bool subpicture_t::b_ephemer

If this flag is set to true the subtitle will be displayed untill the next one appear.

Referenced by OSDWidget(), SpuSelectSubpictures(), vout_OSDEpg(), vout_OSDText(), and VoutSnapshotPip().

bool subpicture_t::b_fade
bool subpicture_t::b_subtitle
int subpicture_t::i_alpha
int subpicture_t::i_channel
int64_t subpicture_t::i_order
int subpicture_t::i_original_picture_height
int subpicture_t::i_original_picture_width
mtime_t subpicture_t::i_start
mtime_t subpicture_t::i_stop
subpicture_t* subpicture_t::p_next

an increasing unique number

next subtitle to be displayed

subpicture_private_t* subpicture_t::p_private
subpicture_region_t* subpicture_t::p_region
subpicture_updater_t subpicture_t::updater

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