record: add support to select recording demux; use CFEManager to allocate and lock frontend in use

This commit is contained in:
[CST] Focus
2012-01-13 15:03:23 +04:00
parent 5002cd4c0f
commit 5930d09cb9
2 changed files with 53 additions and 3 deletions

View File

@@ -35,6 +35,7 @@
#include <gui/movieinfo.h>
#include <zapit/channel.h>
#include <zapit/client/zapittools.h>
#include <zapit/femanager.h>
#if HAVE_COOL_HARDWARE
#include <record_cs.h>
@@ -123,6 +124,8 @@ class CRecordInstance
bool Timeshift() { return autoshift; };
int tshift_mode;
void SetStopMessage(const char* text) {rec_stop_msg = text;} ;
CFrontend * frontend;
};
typedef std::map<t_channel_id, CRecordInstance*> recmap_t;