|
bool | Open (const std::string &strFile) |
|
bool | IsIncompatible (CDVDInputStream *pInputStream, std::vector< uint8_t > &buf, size_t *bytesRead) |
| Checks if the subtitle associated with the pInputStream is known to be incompatible, e.g., vob sub files. More...
|
|
std::string | Read (int length) |
| Read some data of specified length, from the current position. More...
|
|
bool | Seek (int offset) |
| Change the current data position to the specified offset. More...
|
|
bool | ReadLine (std::string &line) |
| Read a line of data. More...
|
|
const std::string & | GetData () |
| Get the full data. More...
|
|
◆ GetData()
const std::string& CDVDSubtitleStream::GetData |
( |
| ) |
|
|
inline |
Get the full data.
- Returns
- The data
◆ IsIncompatible()
bool CDVDSubtitleStream::IsIncompatible |
( |
CDVDInputStream * |
pInputStream, |
|
|
std::vector< uint8_t > & |
buf, |
|
|
size_t * |
bytesRead |
|
) |
| |
Checks if the subtitle associated with the pInputStream is known to be incompatible, e.g., vob sub files.
- Parameters
-
[in] | pInputStream | The input stream for the subtitle to check. |
◆ Read()
std::string CDVDSubtitleStream::Read |
( |
int |
length | ) |
|
Read some data of specified length, from the current position.
- Parameters
-
length | The length of data to be read |
- Returns
- The string read
◆ ReadLine()
bool CDVDSubtitleStream::ReadLine |
( |
std::string & |
line | ) |
|
Read a line of data.
- Parameters
-
◆ Seek()
bool CDVDSubtitleStream::Seek |
( |
int |
offset | ) |
|
Change the current data position to the specified offset.
- Parameters
-
- Returns
- True if success, otherwise false
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/DVDSubtitles/DVDSubtitleStream.h
- xbmc/cores/VideoPlayer/DVDSubtitles/DVDSubtitleStream.cpp