diff --git a/libtriple/dmx_td.cpp b/libtriple/dmx_td.cpp index 1dc38b0..50d28e1 100644 --- a/libtriple/dmx_td.cpp +++ b/libtriple/dmx_td.cpp @@ -119,7 +119,7 @@ void cDemux::Close(void) fd = -1; } -bool cDemux::Start(void) +bool cDemux::Start(bool) { if (fd < 0) { diff --git a/libtriple/dmx_td.h b/libtriple/dmx_td.h index ed44469..39fe370 100644 --- a/libtriple/dmx_td.h +++ b/libtriple/dmx_td.h @@ -41,7 +41,7 @@ class cDemux bool Open(DMX_CHANNEL_TYPE pes_type, void * x = NULL, int y = 0); void Close(void); - bool Start(void); + bool Start(bool record = false); bool Stop(void); 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);