mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
- Allow ttx/epg keys for timeshift
- Fix record+live streaming
- Live stream code changes for testing
- Changes to handle internal CA multi-decoding
- hack for -Werror compiling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1040 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab0f7f731c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-01-25 (Tue, 25 Jan 2011)
Origin message was:
------------------
- Remove some globals from vcrcontrol
- Allow ttx/epg keys for timeshift
- Fix record+live streaming
- Live stream code changes for testing
- Changes to handle internal CA multi-decoding
- hack for -Werror compiling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1040 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
/*******************************************************************************/
|
|
/* */
|
|
/* libcoolstream/record_cs.h */
|
|
/* Public header file for record API */
|
|
/* */
|
|
/* (C) 2008 CoolStream International */
|
|
/* */
|
|
/*******************************************************************************/
|
|
#ifndef __RECORD_CS_H_
|
|
#define __RECORD_CS_H_
|
|
|
|
#include <string>
|
|
|
|
#ifndef CS_RECORD_PDATA
|
|
#define CS_RECORD_PDATA void
|
|
#endif
|
|
|
|
class cRecord {
|
|
private:
|
|
CS_RECORD_PDATA * privateData;
|
|
bool enabled;
|
|
int num_apids;
|
|
int unit;
|
|
int nRecordFD;
|
|
|
|
public:
|
|
cRecord(int num = 0);
|
|
~cRecord();
|
|
|
|
bool Open(int numpids);
|
|
void Close(void);
|
|
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids);
|
|
bool Stop(void);
|
|
void RecordNotify(int Event, void *pData);
|
|
/* not tested */
|
|
bool ChangePids(unsigned short vpid, unsigned short * apids, int numapids);
|
|
};
|
|
|
|
#endif // __RECORD_CS_H_
|