Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void cPlayback::FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language)
- {
- *numpida = 0;
- if(playMode == PLAYMODE_FILE)
- fp->GetAllSubs(pids, supported, numpida, language);
- }
- bool cPlayback::SelectSubtitles(int pid, std::string charset)
- {
- if(playMode == PLAYMODE_FILE) {
- fp->SetSubtitles(pid, charset);
- return true;
- }
- return false;
- }
- void cPlayback::GetChapters(std::vector<int> &positions, std::vector<std::string> &titles)
- {
- positions.clear();
- titles.clear();
- if(playMode == PLAYMODE_FILE) {
- return fp->GetChapters(positions, titles);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement