add PES reader
[enigma2.git] / lib / dvb / idvb.h
index e9fb3cf00a48f035100e42dc8c19a5e5bf923b30..060804299d2152741a58eb9818dee899b5c76122 100644 (file)
@@ -240,13 +240,11 @@ public:
        int m_flags;
        enum
        {
-#if 0  // not yet implemented
                dxNoSDT=1,    // don't get SDT
-               dxDontshow=2,
+//nyi  dxDontshow=2,
+               dxNoDVB=4,  // dont use PMT for this service ( use cached pids )
                dxHoldName=8,
-#endif
                dxNewFound=64,
-               dxNoDVB=4  // dont use PMT for this service ( use cached pids )
        };
 
        bool usePMT() const { return !(m_flags & dxNoDVB); }
@@ -554,6 +552,7 @@ public:
 };
 
 class iDVBSectionReader;
+class iDVBPESReader;
 class iDVBTSRecorder;
 class iTSMPEGDecoder;
 
@@ -561,6 +560,7 @@ class iDVBDemux: public iObject
 {
 public:
        virtual RESULT createSectionReader(eMainloop *context, ePtr<iDVBSectionReader> &reader)=0;
+       virtual RESULT createPESReader(eMainloop *context, ePtr<iDVBPESReader> &reader)=0;
        virtual RESULT createTSRecorder(ePtr<iDVBTSRecorder> &recorder)=0;
        virtual RESULT getMPEGDecoder(ePtr<iTSMPEGDecoder> &reader, int primary=1)=0;
        virtual RESULT getSTC(pts_t &pts, int num=0)=0;