diff --git a/device.c b/device.c index ad87115..e35e375 100644 --- a/device.c +++ b/device.c @@ -3,7 +3,7 @@ * * 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" @@ -138,6 +138,12 @@ bool cIptvDevice::SetPid(cPidHandle *Handle, int Type, bool On) 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) { debug("cIptvDevice::OpenDvr(%d)\n", deviceIndex); diff --git a/device.h b/device.h index 8b13175..7b4216c 100644 --- a/device.h +++ b/device.h @@ -3,7 +3,7 @@ * * 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 @@ -59,6 +59,9 @@ protected: virtual bool OpenDvr(void); virtual void CloseDvr(void); virtual bool GetTSPacket(uchar *&Data); + + // for section filtering + virtual int OpenFilter(u_short Pid, u_char Tid, u_char Mask); }; #endif // __IPTV_DEVICE_H