Data Fields

subpicture_t Struct Reference
[Video Subpictures]

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

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

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

an increasing unique number

next subtitle to be displayed

Referenced by DecoderFlushBuffering(), and DecoderPlaySpu().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines