mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
-add record option for teletext & dvbsub pids
This commit is contained in:
committed by
[CST] Focus
parent
cca6d898c8
commit
b2241df43d
@@ -83,6 +83,7 @@ class CRecordInstance
|
||||
time_t epg_time;
|
||||
time_t start_time;
|
||||
bool StreamVTxtPid;
|
||||
bool StreamSubtitlePids;
|
||||
bool StreamPmtPid;
|
||||
unsigned short apids[REC_MAX_APIDS];
|
||||
unsigned int numpids;
|
||||
@@ -107,7 +108,7 @@ class CRecordInstance
|
||||
record_error_msg_t Start(CZapitChannel * channel);
|
||||
void WaitRecMsg(time_t StartTime, time_t WaitTime);
|
||||
public:
|
||||
CRecordInstance(const CTimerd::RecordingInfo * const eventinfo, std::string &dir, bool timeshift = false, bool stream_vtxt_pid = false, bool stream_pmt_pid = false);
|
||||
CRecordInstance(const CTimerd::RecordingInfo * const eventinfo, std::string &dir, bool timeshift = false, bool stream_vtxt_pid = false, bool stream_pmt_pid = false, bool stream_subtitle_pids = false);
|
||||
~CRecordInstance();
|
||||
|
||||
record_error_msg_t Record();
|
||||
@@ -146,6 +147,7 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
std::string Directory;
|
||||
std::string TimeshiftDirectory;
|
||||
bool StreamVTxtPid;
|
||||
bool StreamSubtitlePids;
|
||||
bool StreamPmtPid;
|
||||
bool StopSectionsd;
|
||||
int last_mode;
|
||||
@@ -201,11 +203,12 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
bool RunStartScript(void);
|
||||
bool RunStopScript(void);
|
||||
|
||||
void Config(const bool stopsectionsd, const bool stream_vtxt_pid, const bool stream_pmt_pid)
|
||||
void Config(const bool stopsectionsd, const bool stream_vtxt_pid, const bool stream_pmt_pid, bool stream_subtitle_pids )
|
||||
{
|
||||
StopSectionsd = stopsectionsd;
|
||||
StreamVTxtPid = stream_vtxt_pid;
|
||||
StreamPmtPid = stream_pmt_pid;
|
||||
StopSectionsd = stopsectionsd;
|
||||
StreamVTxtPid = stream_vtxt_pid;
|
||||
StreamSubtitlePids = stream_subtitle_pids;
|
||||
StreamPmtPid = stream_pmt_pid;
|
||||
};
|
||||
void SetDirectory(const char * const directory) { Directory = directory; };
|
||||
void SetTimeshiftDirectory(const char * const directory) { TimeshiftDirectory = directory; };
|
||||
|
Reference in New Issue
Block a user