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

Video subtitle. More...

Collaboration diagram for subpicture_t:
Collaboration graph
[legend]

Data Fields

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

Should NOT be modified except by the vout thread

int64_t i_order
subpicture_tp_next
 an increasing unique number
Date properties
mtime_t i_start
 beginning of display date
mtime_t i_stop
 end of display date
bool b_ephemer
 If this flag is set to true the subtitle will be displayed untill the next one appear.
bool b_fade
 enable fading
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
bool b_absolute
 position is absolute
int i_original_picture_width
 original width of the movie
int i_original_picture_height
 original height of the movie
int i_alpha
 transparency

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: