virtual ~eDVBDemux();
RESULT setSourceFrontend(int fenum);
+ int getSource() { return source; }
RESULT setSourcePVR(int pvrnum);
RESULT createSectionReader(eMainloop *context, ePtr<iDVBSectionReader> &reader);
int getRefCount() { return ref; }
private:
- int adapter, demux;
+ int adapter, demux, source;
int m_dvr_busy;
friend class eDVBSectionReader;
class eDVBSectionReader: public iDVBSectionReader, public Object
{
DECLARE_REF(eDVBSectionReader);
-private:
int fd;
Signal1<void, const __u8*> read;
ePtr<eDVBDemux> demux;
class eDVBPESReader: public iDVBPESReader, public Object
{
DECLARE_REF(eDVBPESReader);
-private:
int m_fd;
Signal2<void, const __u8*, int> m_read;
ePtr<eDVBDemux> m_demux;
void stopPID(int pid);
eDVBRecordFileThread *m_thread;
+ void filepushEvent(int event);
std::map<int,int> m_pids;
Signal1<void,int> m_event;