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

Origin commit data
------------------
Branch: ni/coolstream
Commit: f8aa4262cb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-08-03 (Fri, 03 Aug 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-08-03 19:57:45 +04:00
parent 8d25783591
commit b0d70e11e4
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_