X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6a4d3199f96849af7ef9fae324f34ec4d1b7412b..8654739391001e76f8a6e571537f8b0f42999294:/lib/dvb/idvb.h diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h index eacc4929..2090d188 100644 --- a/lib/dvb/idvb.h +++ b/lib/dvb/idvb.h @@ -426,6 +426,7 @@ public: typedef long long pts_t; class iFilePushScatterGather; +class iTSMPEGDecoder; /* note that a cue sheet describes the logical positions. thus everything is specified in pts and not file positions */ @@ -444,7 +445,7 @@ public: void addSourceSpan(const pts_t &begin, const pts_t &end); void setSkipmode(const pts_t &ratio); /* 90000 is 1:1 */ - void setDecodingDemux(iDVBDemux *demux); + void setDecodingDemux(iDVBDemux *demux, iTSMPEGDecoder *decoder); /* frontend and backend */ eSingleLock m_lock; @@ -458,6 +459,7 @@ public: pts_t m_skipmode_ratio; Signal1 m_event; ePtr m_decoding_demux; + ePtr m_decoder; }; class iDVBPVRChannel: public iDVBChannel @@ -549,6 +551,8 @@ public: virtual RESULT setZoom(int what)=0; virtual RESULT setTrickmode(int what) = 0; + + virtual RESULT getPTS(int what, pts_t &pts) = 0; }; #endif