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 */
void clear();
void addSourceSpan(const pts_t &begin, const pts_t &end);
+ void commitSpans();
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;
pts_t m_skipmode_ratio;
Signal1<void,int> m_event;
ePtr<iDVBDemux> m_decoding_demux;
+ ePtr<iTSMPEGDecoder> m_decoder;
};
class iDVBPVRChannel: public iDVBChannel
virtual RESULT setZoom(int what)=0;
virtual RESULT setTrickmode(int what) = 0;
+
+ virtual RESULT getPTS(int what, pts_t &pts) = 0;
};
#endif