add a blinking point to the infobar
[enigma2.git] / lib / dvb / decoder.h
index 67a8c5082fd42e014e16c31610b06af8e777b68c..dd39696736c9a8df83c70d7087679412c0a61146 100644 (file)
@@ -14,6 +14,13 @@ public:
        eDVBAudio(eDVBDemux *demux, int dev);
        int startPid(int pid);
        void stop();
+#if HAVE_DVB_API_VERSION < 3
+       void start();
+       void stopPid();
+#endif
+       void flush();
+       void freeze();
+       void unfreeze();
        virtual ~eDVBAudio();
 };
 
@@ -27,6 +34,13 @@ public:
        eDVBVideo(eDVBDemux *demux, int dev);
        int startPid(int pid);
        void stop();
+#if HAVE_DVB_API_VERSION < 3
+       void start();
+       void stopPid();
+#endif
+       void flush();
+       void freeze();
+       void unfreeze();
        virtual ~eDVBVideo();
 };
 
@@ -43,7 +57,7 @@ public:
        virtual ~eDVBPCR();
 };
 
-class eTSMPEGDecoder: public iTSMPEGDecoder
+class eTSMPEGDecoder: public Object, public iTSMPEGDecoder
 {
 DECLARE_REF(eTSMPEGDecoder);
 private:
@@ -60,6 +74,9 @@ private:
        };
        int m_changed;
        int setState();
+       ePtr<eConnection> m_demux_event;
+       
+       void demux_event(int event);
 public:
        enum { pidNone = -1 };
        eTSMPEGDecoder(eDVBDemux *demux, int decoder);
@@ -75,5 +92,6 @@ public:
        RESULT setPictureSkipMode(int what);
        RESULT setSlowMotion(int repeat);
        RESULT setZoom(int what);
+       RESULT flush();
 };
 #endif