MythTV  0.26-pre
Public Member Functions | Public Attributes | Static Public Attributes
OneSubtitle Class Reference

Represents one subtitle record. More...

#include <mythccextractorplayer.h>

List of all members.

Public Member Functions

 OneSubtitle ()

Public Attributes

int64_t start_time
 Time we have to start showing subtitle, msec.
int length
 Time we have to show subtitle, msec.
bool is_text
 Is this a text subtitle.
QStringList text
 Lines of text of subtitles.
QImage img
 Image of subtitle.
QPoint img_shift
 Shift of image on the screen.

Static Public Attributes

static const int kDefaultLength = 750

Detailed Description

Represents one subtitle record.

Definition at line 28 of file mythccextractorplayer.h.


Constructor & Destructor Documentation

Definition at line 44 of file mythccextractorplayer.h.


Member Data Documentation

Is this a text subtitle.

Definition at line 36 of file mythccextractorplayer.h.

QStringList OneSubtitle::text

Lines of text of subtitles.

Definition at line 38 of file mythccextractorplayer.h.

Referenced by SRTWriter::AddSubtitle(), and MythCCExtractorPlayer::IngestSubtitle().

Shift of image on the screen.

Definition at line 42 of file mythccextractorplayer.h.

Referenced by MythCCExtractorPlayer::IngestDVBSubtitles().

const int OneSubtitle::kDefaultLength = 750 [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends