diff options
author | schmirl <schmirl> | 2007-04-24 11:42:41 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2007-04-24 11:42:41 +0000 |
commit | fdda49c9f3341913aa1f7497a3384f7dc24e06cc (patch) | |
tree | 737aec56baa940bd26bf72ac5a0a551eaefcc8d8 | |
parent | d012504c3a2f2086b80af8d0a5ad5823e07a9058 (diff) | |
download | vdr-plugin-streamdev-fdda49c9f3341913aa1f7497a3384f7dc24e06cc.tar.gz vdr-plugin-streamdev-fdda49c9f3341913aa1f7497a3384f7dc24e06cc.tar.bz2 |
server_live-filter_remove_setfilter.patch by Petri Hintukainen
- remove (now unused) cStreamdevLiveStreamer::SetFilter()
Modified Files:
server/livestreamer.c server/livestreamer.h
-rw-r--r-- | server/livestreamer.c | 19 | ||||
-rw-r--r-- | server/livestreamer.h | 1 |
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); |