From c0e4acce108977e5bffbbc9b6c7f184fac05a55b Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 1 Oct 2011 20:28:11 +0200 Subject: [PATCH] libtriple: bring cDemux::Start in line with CS code Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/3d7234d5bb66ddfda8eab23241a9cb045db93966 Author: Stefan Seyfried Date: 2011-10-01 (Sat, 01 Oct 2011) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libtriple/dmx_td.cpp | 2 +- libtriple/dmx_td.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);