MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
OneSubtitle Class Reference

Represents one subtitle record. More...

#include <mythccextractorplayer.h>

Collaboration diagram for OneSubtitle:
Collaboration graph

Public Member Functions

 OneSubtitle ()

Public Attributes

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

Static Public Attributes

static const int kDefaultLength = 750

Detailed Description

Represents one subtitle record.

Definition at line 29 of file mythccextractorplayer.h.

Constructor & Destructor Documentation

◆ OneSubtitle()

OneSubtitle::OneSubtitle ( )

Definition at line 45 of file mythccextractorplayer.h.

Member Data Documentation

◆ start_time

int64_t OneSubtitle::start_time

◆ length

int OneSubtitle::length

◆ is_text

bool OneSubtitle::is_text

Is this a text subtitle.

Definition at line 37 of file mythccextractorplayer.h.

◆ text

QStringList OneSubtitle::text

Lines of text of subtitles.

Definition at line 39 of file mythccextractorplayer.h.

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

◆ img

QImage OneSubtitle::img

◆ img_shift

QPoint OneSubtitle::img_shift

Shift of image on the screen.

Definition at line 43 of file mythccextractorplayer.h.

Referenced by MythCCExtractorPlayer::IngestDVBSubtitles().

◆ kDefaultLength

const int OneSubtitle::kDefaultLength = 750

The documentation for this class was generated from the following files: