projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[media player] fixed the mistype in audio_extensions tuple(flac/m4a).
[vuplus_dvbapp]
/
lib
/
service
/
servicedvb.h
diff --git
a/lib/service/servicedvb.h
b/lib/service/servicedvb.h
index
42647b9
..
6ced102
100644
(file)
--- a/
lib/service/servicedvb.h
+++ b/
lib/service/servicedvb.h
@@
-159,9
+159,10
@@
public:
// iTimeshiftService
RESULT startTimeshift();
// iTimeshiftService
RESULT startTimeshift();
- RESULT stopTimeshift();
+ RESULT stopTimeshift(
bool swToLive=true
);
int isTimeshiftActive();
RESULT activateTimeshift();
int isTimeshiftActive();
RESULT activateTimeshift();
+ RESULT setNextPlaybackFile(const char *fn);
// iCueSheet
PyObject *getCutList();
// iCueSheet
PyObject *getCutList();
@@
-184,7
+185,7
@@
public:
RESULT stream(ePtr<iStreamableService> &ptr);
PyObject *getStreamingData();
RESULT stream(ePtr<iStreamableService> &ptr);
PyObject *getStreamingData();
-pr
ivate
:
+pr
otected
:
friend class eServiceFactoryDVB;
eServiceReference m_reference;
friend class eServiceFactoryDVB;
eServiceReference m_reference;
@@
-208,14
+209,15
@@
private:
void serviceEvent(int event);
void serviceEventTimeshift(int event);
Signal2<void,iPlayableService*,int> m_event;
void serviceEvent(int event);
void serviceEventTimeshift(int event);
Signal2<void,iPlayableService*,int> m_event;
+
+ int m_is_stream;
/* pvr */
int m_is_pvr, m_is_paused, m_timeshift_enabled, m_timeshift_active, m_timeshift_changed;
int m_first_program_info;
/* pvr */
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;
int m_timeshift_fd;
-
ePtr<iDVBDemux> m_decode_demux;
int m_current_audio_stream;
ePtr<iDVBDemux> m_decode_demux;
int m_current_audio_stream;
@@
-228,8
+230,10
@@
private:
void updateTimeshiftPids();
void switchToLive();
void updateTimeshiftPids();
void switchToLive();
+
+ void resetTimeshift(int start);
void switchToTimeshift();
void switchToTimeshift();
-
+
void updateDecoder(bool sendSeekableStateChanged=false);
int m_skipmode;
void updateDecoder(bool sendSeekableStateChanged=false);
int m_skipmode;
@@
-287,6
+291,8
@@
private:
ePtr<eConnection> m_video_event_connection;
void video_event(struct iTSMPEGDecoder::videoEvent);
ePtr<eConnection> m_video_event_connection;
void video_event(struct iTSMPEGDecoder::videoEvent);
+
+ virtual ePtr<iTsSource> createTsSource(eServiceReferenceDVB &ref);
};
class eStaticServiceDVBBouquetInformation: public iStaticServiceInformation
};
class eStaticServiceDVBBouquetInformation: public iStaticServiceInformation