|
vdr 2.8.1
|
#include <recording.h>
Public Member Functions | |
| cFileName (const char *FileName, bool Record, bool Blocking=false, bool IsPesRecording=false) | |
| ~cFileName () | |
| const char * | Name (void) |
| uint16_t | Number (void) |
| bool | GetLastPatPmtVersions (int &PatVersion, int &PmtVersion) |
| cUnbufferedFile * | Open (void) |
| void | Close (void) |
| cUnbufferedFile * | SetOffset (int Number, off_t Offset=0) |
| cUnbufferedFile * | NextFile (void) |
Private Attributes | |
| cUnbufferedFile * | file |
| uint16_t | fileNumber |
| char * | fileName |
| char * | pFileNumber |
| bool | record |
| bool | blocking |
| bool | isPesRecording |
Definition at line 557 of file recording.h.
| cFileName::cFileName | ( | const char * | FileName, |
| bool | Record, | ||
| bool | Blocking = false, | ||
| bool | IsPesRecording = false ) |
Definition at line 3273 of file recording.c.
References blocking, esyslog, file, fileName, fileNumber, isPesRecording, MALLOC, pFileNumber, record, RECORDFILESUFFIXLEN, and SetOffset().
| cFileName::~cFileName | ( | ) |
Definition at line 3291 of file recording.c.
| void cFileName::Close | ( | void | ) |
Definition at line 3372 of file recording.c.
References file, fileName, and LOG_ERROR_STR.
Referenced by SetOffset(), and ~cFileName().
| bool cFileName::GetLastPatPmtVersions | ( | int & | PatVersion, |
| int & | PmtVersion ) |
Definition at line 3297 of file recording.c.
References fileName, cPatPmtParser::GetVersions(), isPesRecording, cPatPmtParser::IsPmtPid(), MAXFILESPERRECORDINGTS, Number(), cPatPmtParser::ParsePat(), cPatPmtParser::ParsePmt(), PATPID, pFileNumber, RECORDFILESUFFIXTS, TS_SIZE, TS_SYNC_BYTE, and TsPid().
|
inline |
Definition at line 568 of file recording.h.
References fileName.
| cUnbufferedFile * cFileName::NextFile | ( | void | ) |
Definition at line 3424 of file recording.c.
References fileNumber, and SetOffset().
Referenced by cIndexFileGenerator::Action().
|
inline |
Definition at line 569 of file recording.h.
References fileNumber.
Referenced by cIndexFileGenerator::Action(), GetLastPatPmtVersions(), and SetOffset().
| cUnbufferedFile * cFileName::Open | ( | void | ) |
Definition at line 3348 of file recording.c.
References blocking, cUnbufferedFile::Create(), dsyslog, file, fileName, LOG_ERROR_STR, cVideoDirectory::OpenVideoFile(), and record.
Referenced by cIndexFileGenerator::Action(), and SetOffset().
| cUnbufferedFile * cFileName::SetOffset | ( | int | Number, |
| off_t | Offset = 0 ) |
Definition at line 3382 of file recording.c.
References Close(), dsyslog, esyslog, file, fileName, fileNumber, isPesRecording, LOG_ERROR_STR, MAXFILESPERRECORDINGPES, MAXFILESPERRECORDINGTS, Number(), Open(), pFileNumber, record, RECORDFILESUFFIXPES, RECORDFILESUFFIXTS, and SetOffset().
Referenced by cIndexFileGenerator::Action(), cFileName(), cRecorder::GetLastPts(), NextFile(), and SetOffset().
|
private |
Definition at line 563 of file recording.h.
Referenced by cFileName(), and Open().
|
private |
Definition at line 559 of file recording.h.
Referenced by cFileName(), Close(), Open(), and SetOffset().
|
private |
Definition at line 561 of file recording.h.
Referenced by cFileName(), Close(), GetLastPatPmtVersions(), Name(), Open(), SetOffset(), and ~cFileName().
|
private |
Definition at line 560 of file recording.h.
Referenced by cFileName(), NextFile(), Number(), and SetOffset().
|
private |
Definition at line 564 of file recording.h.
Referenced by cFileName(), GetLastPatPmtVersions(), and SetOffset().
|
private |
Definition at line 561 of file recording.h.
Referenced by cFileName(), GetLastPatPmtVersions(), and SetOffset().
|
private |
Definition at line 562 of file recording.h.
Referenced by cFileName(), Open(), and SetOffset().