mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fix header
This commit is contained in:
@@ -348,6 +348,11 @@ void cPlayback::Close(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// start
|
// 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*/)
|
bool cPlayback::Start(char *filename, int /*vpid*/, int /*vtype*/, int /*apid*/, int /*ac3*/, int /*duration*/)
|
||||||
{
|
{
|
||||||
lt_info( "%s:%s\n", FILENAME, __FUNCTION__);
|
lt_info( "%s:%s\n", FILENAME, __FUNCTION__);
|
||||||
|
@@ -56,6 +56,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 Play(void);
|
bool Play(void);
|
||||||
bool SyncAV(void);
|
bool SyncAV(void);
|
||||||
|
|
||||||
|
@@ -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 cPlayback::Start(char *filename, int vpid, int vtype, int apid, int ac3, int)
|
||||||
{
|
{
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
@@ -41,6 +41,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 = false);
|
bool SetAPid(int pid, bool ac3 = false);
|
||||||
bool SetVPid(int pid);
|
bool SetVPid(int pid);
|
||||||
bool SetSubtitlePid(int pid);
|
bool SetSubtitlePid(int pid);
|
||||||
|
Reference in New Issue
Block a user