diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-10 17:15:15 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-10 17:15:15 +0100 |
| commit | 6fdb2d2094c50a2bc324f4094473c2107d2ea943 (patch) | |
| tree | d20010fa6cef2a622af5a2442ba660591f75afcc /lib/dvb/dvb.h | |
| parent | 96844b5bd92b331390597061efe140172979c34d (diff) | |
| download | enigma2-6fdb2d2094c50a2bc324f4094473c2107d2ea943.tar.gz enigma2-6fdb2d2094c50a2bc324f4094473c2107d2ea943.zip | |
add new playSource / stopSource interface to iDVBChannel and eDVBChannel
Diffstat (limited to 'lib/dvb/dvb.h')
| -rw-r--r-- | lib/dvb/dvb.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/dvb/dvb.h b/lib/dvb/dvb.h index fb925807..92771604 100644 --- a/lib/dvb/dvb.h +++ b/lib/dvb/dvb.h @@ -259,7 +259,10 @@ public: /* iDVBPVRChannel */ RESULT playFile(const char *file); void stopFile(); - + + RESULT playSource(ePtr<iDataSource>& source, const char *priv=NULL); + void stopSource(); + void setCueSheet(eCueSheet *cuesheet); RESULT getLength(pts_t &len); @@ -301,7 +304,7 @@ private: std::list<std::pair<off_t, off_t> > m_source_span; void getNextSourceSpan(off_t current_offset, size_t bytes_read, off_t &start, size_t &size); void flushPVR(iDVBDemux *decoding_demux=0); - + eSingleLock m_cuesheet_lock; friend class eUsePtr<eDVBChannel>; |
