From d9decb5bdec6988ceaaa9dad8239dbbfef2e27d7 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: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/448f88fcac257b0ed952bf5ec24b5da0cdb48834 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 --- lib/libtriple/dmx_td.cpp | 2 +- lib/libtriple/dmx_td.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libtriple/dmx_td.cpp b/lib/libtriple/dmx_td.cpp index 1dc38b082..50d28e125 100644 --- a/lib/libtriple/dmx_td.cpp +++ b/lib/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/lib/libtriple/dmx_td.h b/lib/libtriple/dmx_td.h index ed444697c..39fe37015 100644 --- a/lib/libtriple/dmx_td.h +++ b/lib/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);