vdr-plugin-streamdev/server/livefilter.h

36 lines
725 B
C
Raw Normal View History

2010-12-02 08:53:01 +01:00
/*
2010-12-02 08:59:14 +01:00
* $Id: livefilter.h,v 1.4 2007/04/24 11:29:29 schmirl Exp $
2010-12-02 08:53:01 +01:00
*/
#ifndef VDR_STREAMEV_LIVEFILTER_H
#define VDR_STREAMEV_LIVEFILTER_H
#include <vdr/config.h>
# if VDRVERSNUM >= 10300
#include <vdr/filter.h>
2010-12-02 08:59:14 +01:00
class cStreamdevStreamer;
2010-12-02 08:53:01 +01:00
class cStreamdevLiveFilter: public cFilter {
private:
2010-12-02 08:59:14 +01:00
cStreamdevStreamer *m_Streamer;
2010-12-02 08:53:01 +01:00
protected:
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
public:
2010-12-02 08:59:14 +01:00
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);
}
2010-12-02 08:53:01 +01:00
};
# endif // VDRVERSNUM >= 10300
#endif // VDR_STREAMEV_LIVEFILTER_H