A class which is used to read from VOB files. More...
Classes | |
struct | File |
Public Member Functions | |
VobFileSet (const QStringList &vobFileNames, QtlLogger *log) | |
Constructor. More... | |
~VobFileSet () | |
Destructor. More... | |
void | close () |
Close all VOB files. More... | |
int | read (int sectorAddress, void *buffer, int maxSectorCount) |
Read some contiguous sectors. More... | |
Private Attributes | |
int | _current |
Index of VOB file being currently demuxed. More... | |
QVector< File * > | _files |
Vector of VOB file descriptions. More... | |
QtlLogger * | _log |
Message logger. More... | |
A class which is used to read from VOB files.
Not used in case of encrypted DVD media.
QtsDvdProgramChainDemux::VobFileSet::VobFileSet | ( | const QStringList & | vobFileNames, |
QtlLogger * | log | ||
) |
Constructor.
[in] | vobFileNames | List of VOB file names. |
[in] | log | Where to log messages, cannot be null. |
QtsDvdProgramChainDemux::VobFileSet::~VobFileSet | ( | ) |
Destructor.
int QtsDvdProgramChainDemux::VobFileSet::read | ( | int | sectorAddress, |
void * | buffer, | ||
int | maxSectorCount | ||
) |
Read some contiguous sectors.
[in] | sectorAddress | Sector address to read, 0 being the first sector of the first file. |
[out] | buffer | Where to read sectors. |
[in] | maxSectorCount | Max number of sectors to read. |
void QtsDvdProgramChainDemux::VobFileSet::close | ( | ) |
Close all VOB files.
|
private |
Message logger.
|
private |
Vector of VOB file descriptions.
|
private |
Index of VOB file being currently demuxed.