1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Added a dummy OpenFilter() for section filtering.

This commit is contained in:
Rolf Ahrenberg 2007-09-14 16:10:44 +00:00
parent da50e032fd
commit c5cba58f9f
2 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: device.c,v 1.7 2007/09/14 15:44:25 rahrenbe Exp $ * $Id: device.c,v 1.8 2007/09/14 16:10:44 rahrenbe Exp $
*/ */
#include "common.h" #include "common.h"
@ -138,6 +138,12 @@ bool cIptvDevice::SetPid(cPidHandle *Handle, int Type, bool On)
return true; return true;
} }
int cIptvDevice::OpenFilter(u_short Pid, u_char Tid, u_char Mask)
{
debug("cIptvDevice::OpenFilter(): Pid=%d Tid=%02X Mask=%02X\n", Pid, Tid, Mask);
return 0;
}
bool cIptvDevice::OpenDvr(void) bool cIptvDevice::OpenDvr(void)
{ {
debug("cIptvDevice::OpenDvr(%d)\n", deviceIndex); debug("cIptvDevice::OpenDvr(%d)\n", deviceIndex);

View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: device.h,v 1.4 2007/09/14 15:44:25 rahrenbe Exp $ * $Id: device.h,v 1.5 2007/09/14 16:10:44 rahrenbe Exp $
*/ */
#ifndef __IPTV_DEVICE_H #ifndef __IPTV_DEVICE_H
@ -59,6 +59,9 @@ protected:
virtual bool OpenDvr(void); virtual bool OpenDvr(void);
virtual void CloseDvr(void); virtual void CloseDvr(void);
virtual bool GetTSPacket(uchar *&Data); virtual bool GetTSPacket(uchar *&Data);
// for section filtering
virtual int OpenFilter(u_short Pid, u_char Tid, u_char Mask);
}; };
#endif // __IPTV_DEVICE_H #endif // __IPTV_DEVICE_H