X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/52eb0cac0affc9c39a7a15a5e90bb87ad3a60481..0ecfa70938499a3386c282577e28625d04d4626b:/lib/dvb/decoder.h diff --git a/lib/dvb/decoder.h b/lib/dvb/decoder.h index 67a8c508..a26d6cf5 100644 --- a/lib/dvb/decoder.h +++ b/lib/dvb/decoder.h @@ -14,6 +14,11 @@ 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(); virtual ~eDVBAudio(); }; @@ -27,6 +32,11 @@ 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(); virtual ~eDVBVideo(); }; @@ -43,7 +53,7 @@ public: virtual ~eDVBPCR(); }; -class eTSMPEGDecoder: public iTSMPEGDecoder +class eTSMPEGDecoder: public Object, public iTSMPEGDecoder { DECLARE_REF(eTSMPEGDecoder); private: @@ -60,6 +70,9 @@ private: }; int m_changed; int setState(); + ePtr m_demux_event; + + void demux_event(int event); public: enum { pidNone = -1 }; eTSMPEGDecoder(eDVBDemux *demux, int decoder); @@ -75,5 +88,6 @@ public: RESULT setPictureSkipMode(int what); RESULT setSlowMotion(int repeat); RESULT setZoom(int what); + RESULT flush(); }; #endif