mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
driver/record.cpp: add timer to monitor record status;
add warning, when record buffer close to or already overflow;
change single record stop to sync mode - under high load stopTimerEvent() takes too long
Origin commit data
------------------
Branch: ni/coolstream
Commit: b8ff3bbdd5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-09-25 (Tue, 25 Sep 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -124,6 +124,7 @@ class CRecordInstance
|
||||
bool Timeshift() { return autoshift; };
|
||||
int tshift_mode;
|
||||
void SetStopMessage(const char* text) {rec_stop_msg = text;} ;
|
||||
int GetStatus();
|
||||
|
||||
CFrontend * frontend;
|
||||
};
|
||||
@@ -150,6 +151,9 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
int last_mode;
|
||||
bool autoshift;
|
||||
uint32_t shift_timer;
|
||||
uint32_t check_timer;
|
||||
bool error_display;
|
||||
bool warn_display;
|
||||
|
||||
OpenThreads::Mutex mutex;
|
||||
static OpenThreads::Mutex sm;
|
||||
|
Reference in New Issue
Block a user