mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
313da9682d
- Move cStreamdevFilter definition from filter.h to filter.c - Add IsClosed() and Reset() members to cStreamdevFilter: * IsClosed() returns true if filter was closed by VDR * Reset() discards (incomplete) queued section data Modified Files: client/filter.c client/filter.h
38 lines
755 B
C++
38 lines
755 B
C++
/*
|
|
* $Id: filter.h,v 1.2 2007/04/23 11:23:15 schmirl Exp $
|
|
*/
|
|
|
|
#ifndef VDR_STREAMDEV_FILTER_H
|
|
#define VDR_STREAMDEV_FILTER_H
|
|
|
|
#include <vdr/config.h>
|
|
|
|
# if VDRVERSNUM >= 10300
|
|
|
|
#include <vdr/tools.h>
|
|
#include <vdr/thread.h>
|
|
|
|
class cRingBufferLinear;
|
|
class cTSBuffer;
|
|
class cStreamdevFilter;
|
|
|
|
class cStreamdevFilters: public cList<cStreamdevFilter>, public cThread {
|
|
private:
|
|
bool m_Active;
|
|
cRingBufferLinear *m_RingBuffer;
|
|
|
|
protected:
|
|
virtual void Action(void);
|
|
|
|
public:
|
|
cStreamdevFilters(void);
|
|
virtual ~cStreamdevFilters();
|
|
|
|
int OpenFilter(u_short Pid, u_char Tid, u_char Mask);
|
|
cStreamdevFilter *Matches(u_short Pid, u_char Tid);
|
|
void Put(const uchar *Data);
|
|
};
|
|
|
|
# endif // VDRVERSNUM >= 10300
|
|
#endif // VDR_STREAMDEV_FILTER_H
|