mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
34 lines
651 B
C++
34 lines
651 B
C++
/*
|
|
* $Id: filter.h,v 1.5 2008/04/07 14:27:28 schmirl Exp $
|
|
*/
|
|
|
|
#ifndef VDR_STREAMDEV_FILTER_H
|
|
#define VDR_STREAMDEV_FILTER_H
|
|
|
|
#include <vdr/config.h>
|
|
#include <vdr/tools.h>
|
|
#include <vdr/thread.h>
|
|
|
|
class cTSBuffer;
|
|
class cStreamdevFilter;
|
|
|
|
class cStreamdevFilters: public cList<cStreamdevFilter>, public cThread {
|
|
private:
|
|
cTSBuffer *m_TSBuffer;
|
|
|
|
protected:
|
|
virtual void Action(void);
|
|
void CarbageCollect(void);
|
|
|
|
bool ReActivateFilters(void);
|
|
|
|
public:
|
|
cStreamdevFilters(void);
|
|
virtual ~cStreamdevFilters();
|
|
|
|
void SetConnection(int Handle);
|
|
int OpenFilter(u_short Pid, u_char Tid, u_char Mask);
|
|
};
|
|
|
|
#endif // VDR_STREAMDEV_FILTER_H
|