mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +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:
@@ -241,6 +241,12 @@ bool cPlayback::Start(char *filename, unsigned short vp, int vtype, unsigned sho
|
||||
return pd->Start(filename, vp, vtype, ap, ac3, &audioDemux->fd);
|
||||
}
|
||||
|
||||
/* not implemented */
|
||||
bool cPlayback::Start(std::string /*filename*/, std::string /*headers*/)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool PBPrivate::Start(char *filename, unsigned short vp, int vtype, unsigned short ap, int _ac3, int *audiofd)
|
||||
{
|
||||
struct stat s;
|
||||
@@ -740,7 +746,7 @@ void cPlayback::FindAllSubs(uint16_t *, unsigned short *, uint16_t *num, std::st
|
||||
*num = 0;
|
||||
}
|
||||
|
||||
bool cPlayback::SelectSubtitles(int)
|
||||
bool cPlayback::SelectSubtitles(int, std::string)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user