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:
parent
da50e032fd
commit
c5cba58f9f
8
device.c
8
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);
|
||||
|
5
device.h
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user