cPlayback: implement new libcoolstream interfaces

a new "Start" and changed "SelectSubtitles" function are
implemented to fix compilation (mostly stubbed out, though)
This commit is contained in:
Stefan Seyfried
2016-10-22 11:29:32 +02:00
parent db3ec7352e
commit fd2f0f1fd4
5 changed files with 28 additions and 5 deletions

View File

@@ -300,6 +300,11 @@ bool cPlayback::Open(playmode_t PlayMode)
return 0;
}
bool cPlayback::Start(std::string /*filename*/, std::string /*headers*/)
{
return false;
}
//Used by Fileplay
bool cPlayback::Start(char *filename, unsigned short vpid, int vtype, unsigned short _apid,
int ac3, unsigned int duration)
@@ -366,7 +371,7 @@ bool cPlayback::SetAPid(unsigned short pid, int /*ac3*/)
return true;
}
bool cPlayback::SelectSubtitles(int pid)
bool cPlayback::SelectSubtitles(int pid, std::string /*charset*/)
{
lt_info("%s: pid %i\n", __func__, pid);
if (pid != pd->subpid)