summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/livestreamer.c19
-rw-r--r--server/livestreamer.h1
2 files changed, 0 insertions, 20 deletions
diff --git a/server/livestreamer.c b/server/livestreamer.c
index 1ba3450..1bbeddb 100644
--- a/server/livestreamer.c
+++ b/server/livestreamer.c
@@ -457,25 +457,6 @@ bool cStreamdevLiveStreamer::SetChannel(const cChannel *Channel, eStreamType Str
return false;
}
-bool cStreamdevLiveStreamer::SetFilter(u_short Pid, u_char Tid, u_char Mask, bool On)
-{
-#if 0
- Dprintf("setting filter\n");
- if (On) {
- if (m_Filter == NULL) {
- m_Filter = new cStreamdevLiveFilter(this);
- Dprintf("attaching filter to device\n");
- m_Device->AttachFilter(m_Filter);
- }
- m_Filter->Set(Pid, Tid, Mask);
- } else if (m_Filter != NULL)
- m_Filter->Del(Pid, Tid, Mask);
- return true;
-#else
- return false;
-#endif
-}
-
int cStreamdevLiveStreamer::Put(const uchar *Data, int Count)
{
switch (m_StreamType) {
diff --git a/server/livestreamer.h b/server/livestreamer.h
index f29eef2..1973f71 100644
--- a/server/livestreamer.h
+++ b/server/livestreamer.h
@@ -42,7 +42,6 @@ public:
bool SetPid(int Pid, bool On);
bool SetPids(int Pid, const int *Pids1 = NULL, const int *Pids2 = NULL, const int *Pids3 = NULL);
bool SetChannel(const cChannel *Channel, eStreamType StreamType, int Apid = 0);
- bool SetFilter(u_short Pid, u_char Tid, u_char Mask, bool On);
virtual int Put(const uchar *Data, int Count);
virtual uchar *Get(int &Count);