cDemux: add dummy SetSource() for coolstream compatibiliy

This commit is contained in:
Stefan Seyfried
2012-07-29 13:26:31 +02:00
parent 3396316b8c
commit 1df3d2e946
5 changed files with 18 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ class cDemux
bool addPid(unsigned short pid);
void getSTC(int64_t * STC);
int getUnit(void);
/* tripledragon is unlikely to get a second tuner, so stub it out right here */
static bool SetSource(int /*unit*/, int /*source*/) { return true; };
// TD only functions
int getFD(void) { return fd; }; /* needed by cPlayback class */
void removePid(unsigned short Pid); /* needed by cRecord class */