mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-28 16:01:22 +02:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user