vdr-plugin-streamdev/server/livefilter.h

33 lines
668 B
C
Raw Normal View History

2004-12-30 23:43:55 +01:00
/*
* $Id: livefilter.h,v 1.5 2008/04/07 14:27:31 schmirl Exp $
2004-12-30 23:43:55 +01:00
*/
#ifndef VDR_STREAMEV_LIVEFILTER_H
#define VDR_STREAMEV_LIVEFILTER_H
#include <vdr/config.h>
#include <vdr/filter.h>
class cStreamdevStreamer;
2004-12-30 23:43:55 +01:00
class cStreamdevLiveFilter: public cFilter {
private:
cStreamdevStreamer *m_Streamer;
2004-12-30 23:43:55 +01:00
protected:
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
public:
cStreamdevLiveFilter(cStreamdevStreamer *Streamer);
void Set(u_short Pid, u_char Tid, u_char Mask) {
cFilter::Set(Pid, Tid, Mask);
}
void Del(u_short Pid, u_char Tid, u_char Mask) {
cFilter::Del(Pid, Tid, Mask);
}
2004-12-30 23:43:55 +01:00
};
#endif // VDR_STREAMEV_LIVEFILTER_H