recording: testing support for multi-record of the same channel, new libs required

This commit is contained in:
[CST] Focus
2012-08-03 19:57:45 +04:00
parent 3583286890
commit f8aa4262cb
4 changed files with 133 additions and 114 deletions

View File

@@ -5,6 +5,7 @@
/* */
/* (C) 2008 CoolStream International */
/* */
/* $Id:: $ */
/*******************************************************************************/
#ifndef __RECORD_CS_H_
#define __RECORD_CS_H_
@@ -17,9 +18,7 @@ class cRecord {
private:
cRecordData * rd;
bool enabled;
int num_apids;
int unit;
int nRecordFD;
public:
cRecord(int num = 0);
@@ -27,11 +26,9 @@ public:
bool Open();
void Close(void);
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids);
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids, uint64_t chid);
bool Stop(void);
bool AddPid(unsigned short pid);
/* not tested */
bool ChangePids(unsigned short vpid, unsigned short * apids, int numapids);
};
#endif // __RECORD_CS_H_