mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libtriple: bring cDemux::Start in line with CS code
This commit is contained in:
@@ -119,7 +119,7 @@ void cDemux::Close(void)
|
|||||||
fd = -1;
|
fd = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cDemux::Start(void)
|
bool cDemux::Start(bool)
|
||||||
{
|
{
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
@@ -41,7 +41,7 @@ class cDemux
|
|||||||
|
|
||||||
bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0);
|
bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0);
|
||||||
void Close(void);
|
void Close(void);
|
||||||
bool Start(void);
|
bool Start(bool record = false);
|
||||||
bool Stop(void);
|
bool Stop(void);
|
||||||
int Read(unsigned char *buff, int len, int Timeout = 0);
|
int Read(unsigned char *buff, int len, int Timeout = 0);
|
||||||
bool sectionFilter(unsigned short pid, const unsigned char * const filter, const unsigned char * const mask, int len, int Timeout = 0, const unsigned char * const negmask = NULL);
|
bool sectionFilter(unsigned short pid, const unsigned char * const filter, const unsigned char * const mask, int len, int Timeout = 0, const unsigned char * const negmask = NULL);
|
||||||
|
Reference in New Issue
Block a user