diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-03-02 20:05:59 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-03-31 11:04:13 +0200 |
| commit | 68276231e2e0d6e189572fec5cb1c1ff0c00a1a3 (patch) | |
| tree | 770ef6a7889f36e4a351ee06140cee95bf061a34 /lib/service/servicedvb.h | |
| parent | b3634186b1ede88201f68838e40a977c1beeff1a (diff) | |
| download | enigma2-68276231e2e0d6e189572fec5cb1c1ff0c00a1a3.tar.gz enigma2-68276231e2e0d6e189572fec5cb1c1ff0c00a1a3.zip | |
lib/service/iservice.h, servicedvb.h, servicedvb.cpp: add possibility to play another timeshift file after eof (not used in e2 yet..)
this fixes bug #461
Diffstat (limited to 'lib/service/servicedvb.h')
| -rw-r--r-- | lib/service/servicedvb.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h index 1262836e..dafaf35d 100644 --- a/lib/service/servicedvb.h +++ b/lib/service/servicedvb.h @@ -162,6 +162,7 @@ public: RESULT stopTimeshift(bool swToLive=true); int isTimeshiftActive(); RESULT activateTimeshift(); + RESULT setNextPlaybackFile(const char *fn); // iCueSheet PyObject *getCutList(); @@ -213,9 +214,8 @@ private: int m_is_pvr, m_is_paused, m_timeshift_enabled, m_timeshift_active, m_timeshift_changed; int m_first_program_info; - std::string m_timeshift_file; + std::string m_timeshift_file, m_timeshift_file_next; int m_timeshift_fd; - ePtr<iDVBDemux> m_decode_demux; int m_current_audio_stream; @@ -228,8 +228,10 @@ private: void updateTimeshiftPids(); void switchToLive(); + + void resetTimeshift(int start); void switchToTimeshift(); - + void updateDecoder(bool sendSeekableStateChanged=false); int m_skipmode; |
