fix generic compile

Origin commit data
------------------
Branch: master
Commit: 747c5cb3f1
Author: TangoCash <eric@loxat.de>
Date: 2016-03-26 (Sat, 26 Mar 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2016-03-26 12:23:02 +01:00
parent 5207fc75fb
commit be1da38d90
2 changed files with 6 additions and 0 deletions

View File

@@ -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)
{
printf("%s:%s - filename=%s vpid=%u vtype=%d apid=%u ac3=%d duration=%i\n",

View File

@@ -23,6 +23,7 @@ class cPlayback
bool Open(playmode_t PlayMode);
void Close(void);
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 SetSubtitlePid(int pid);
bool SetTeletextPid(int pid);