fix header

This commit is contained in:
TangoCash
2016-03-26 12:03:13 +01:00
parent 8e99bc5cac
commit fd23101501
4 changed files with 12 additions and 0 deletions

View File

@@ -348,6 +348,11 @@ void cPlayback::Close(void)
}
// start
bool cPlayback::Start(std::string filename, std::string headers = "")
{
Start(filename.c_str(),0,0,0,0,0);
}
bool cPlayback::Start(char *filename, int /*vpid*/, int /*vtype*/, int /*apid*/, int /*ac3*/, int /*duration*/)
{
lt_info( "%s:%s\n", FILENAME, __FUNCTION__);

View File

@@ -56,6 +56,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 Play(void);
bool SyncAV(void);

View File

@@ -52,6 +52,11 @@ void cPlayback::Close(void)
}
}
bool cPlayback::Start(std::string filename, std::string headers = "")
{
Start(filename.c_str(),0,0,0,0,0);
}
bool cPlayback::Start(char *filename, int vpid, int vtype, int apid, int ac3, int)
{
bool ret = false;

View File

@@ -41,6 +41,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 = false);
bool SetVPid(int pid);
bool SetSubtitlePid(int pid);