diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-10-25 21:39:15 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-10-25 21:39:15 +0000 |
| commit | 6977ff954d9c08c2f3ca7727cf997ccd7be201ed (patch) | |
| tree | 8c106abc4523ef4e44ade2059a9bfa6059698098 /lib/dvb/decoder.h | |
| parent | a67e67b1f38ddb2a01c1d5f09e32d373344e4d5e (diff) | |
| download | enigma2-6977ff954d9c08c2f3ca7727cf997ccd7be201ed.tar.gz enigma2-6977ff954d9c08c2f3ca7727cf997ccd7be201ed.zip | |
- add flushing support in demux / decoder
Diffstat (limited to 'lib/dvb/decoder.h')
| -rw-r--r-- | lib/dvb/decoder.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/dvb/decoder.h b/lib/dvb/decoder.h index df639551..a26d6cf5 100644 --- a/lib/dvb/decoder.h +++ b/lib/dvb/decoder.h @@ -18,6 +18,7 @@ public: void start(); void stopPid(); #endif + void flush(); virtual ~eDVBAudio(); }; @@ -35,6 +36,7 @@ public: void start(); void stopPid(); #endif + void flush(); virtual ~eDVBVideo(); }; @@ -51,7 +53,7 @@ public: virtual ~eDVBPCR(); }; -class eTSMPEGDecoder: public iTSMPEGDecoder +class eTSMPEGDecoder: public Object, public iTSMPEGDecoder { DECLARE_REF(eTSMPEGDecoder); private: @@ -68,6 +70,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); @@ -83,5 +88,6 @@ public: RESULT setPictureSkipMode(int what); RESULT setSlowMotion(int repeat); RESULT setZoom(int what); + RESULT flush(); }; #endif |
