mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
fix generic compile
This commit is contained in:
@@ -13,6 +13,11 @@ void cPlayback::Close(void)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool cPlayback::Start(std::string filename, std::string headers)
|
||||||
|
{
|
||||||
|
Start((char *) filename.c_str(),0,0,0,0,0);
|
||||||
|
}
|
||||||
|
|
||||||
bool cPlayback::Start(char * filename, int vpid, int vtype, int apid, int ac3, int duration)
|
bool cPlayback::Start(char * filename, int vpid, int vtype, int apid, int ac3, int duration)
|
||||||
{
|
{
|
||||||
printf("%s:%s - filename=%s vpid=%u vtype=%d apid=%u ac3=%d duration=%i\n",
|
printf("%s:%s - filename=%s vpid=%u vtype=%d apid=%u ac3=%d duration=%i\n",
|
||||||
|
@@ -23,6 +23,7 @@ class cPlayback
|
|||||||
bool Open(playmode_t PlayMode);
|
bool Open(playmode_t PlayMode);
|
||||||
void Close(void);
|
void Close(void);
|
||||||
bool Start(char *filename, int vpid, int vtype, int apid, int ac3, int duration);
|
bool Start(char *filename, int vpid, int vtype, int apid, int ac3, int duration);
|
||||||
|
bool Start(std::string filename, std::string headers = "");
|
||||||
bool SetAPid(int pid, bool ac3);
|
bool SetAPid(int pid, bool ac3);
|
||||||
bool SetSubtitlePid(int pid);
|
bool SetSubtitlePid(int pid);
|
||||||
bool SetTeletextPid(int pid);
|
bool SetTeletextPid(int pid);
|
||||||
|
Reference in New Issue
Block a user