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

@@ -13,6 +13,11 @@ void cPlayback::Close(void)
{
}
bool cPlayback::Start(std::string /*filename*/, std::string /*headers*/)
{
return false;
}
bool cPlayback::Start(char * filename, unsigned short vpid, int vtype, unsigned short apid, int ac3, unsigned int duration)
{
printf("%s:%s - filename=%s vpid=%u vtype=%d apid=%u ac3=%d duration=%i\n",
@@ -26,7 +31,7 @@ bool cPlayback::SetAPid(unsigned short pid, int /*ac3*/)
return true;
}
bool cPlayback::SelectSubtitles(int pid)
bool cPlayback::SelectSubtitles(int pid, std::string /*charset*/)
{
printf("%s:%s pid %i\n", FILENAME, __func__, pid);
return true;