|
vdr 2.6.4
|
#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 494 of file recording.h.
| cFileName::cFileName | ( | const char * | FileName, |
| bool | Record, | ||
| bool | Blocking = false, |
||
| bool | IsPesRecording = false |
||
| ) |
Definition at line 2941 of file recording.c.
References blocking, esyslog, file, fileName, fileNumber, isPesRecording, MALLOC, Number(), pFileNumber, record, RECORDFILESUFFIXLEN, and SetOffset().
| cFileName::~cFileName | ( | ) |
Definition at line 2959 of file recording.c.
Definition at line 3040 of file recording.c.
References cUnbufferedFile::Close(), file, fileName, LOG_ERROR_STR, and Number().
Referenced by SetOffset(), and ~cFileName().
Definition at line 2965 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().
Referenced by cRecorder::cRecorder().
Definition at line 505 of file recording.h.
References fileName.
Referenced by cRecorder::Action(), and cRecorder::RunningLowOnDiskSpace().
| cUnbufferedFile * cFileName::NextFile | ( | void | ) |
Definition at line 3092 of file recording.c.
References fileNumber, and SetOffset().
Referenced by cIndexFileGenerator::Action(), cDvbPlayer::NextFile(), cRecorder::NextFile(), and cCuttingThread::SwitchFile().
|
inline |
Definition at line 506 of file recording.h.
References fileNumber.
Referenced by cRecorder::Action(), cIndexFileGenerator::Action(), cFileName(), Close(), GetLastPatPmtVersions(), Open(), cCuttingThread::ProcessSequence(), SetOffset(), and ~cFileName().
| cUnbufferedFile * cFileName::Open | ( | void | ) |
Definition at line 3016 of file recording.c.
References blocking, cUnbufferedFile::Create(), dsyslog, file, fileName, LOG_ERROR_STR, Number(), cVideoDirectory::OpenVideoFile(), and record.
Referenced by cCuttingThread::Action(), cIndexFileGenerator::Action(), cDvbPlayer::cDvbPlayer(), cRecorder::cRecorder(), and SetOffset().
| cUnbufferedFile * cFileName::SetOffset | ( | int | Number, |
| off_t | Offset = 0 |
||
| ) |
Definition at line 3050 of file recording.c.
References Close(), dsyslog, esyslog, file, fileName, fileNumber, isPesRecording, LOG_ERROR_STR, MAXFILESPERRECORDINGPES, MAXFILESPERRECORDINGTS, Number(), Open(), pFileNumber, record, RECORDFILESUFFIXPES, RECORDFILESUFFIXTS, cUnbufferedFile::Seek(), and SetOffset().
Referenced by cIndexFileGenerator::Action(), cFileName(), cCuttingThread::LoadFrame(), cDvbPlayer::NextFile(), NextFile(), and SetOffset().
|
private |
Definition at line 500 of file recording.h.
Referenced by cFileName(), and Open().
|
private |
Definition at line 496 of file recording.h.
Referenced by cFileName(), Close(), Open(), and SetOffset().
|
private |
Definition at line 498 of file recording.h.
Referenced by cFileName(), Close(), GetLastPatPmtVersions(), Name(), Open(), SetOffset(), and ~cFileName().
|
private |
Definition at line 497 of file recording.h.
Referenced by cFileName(), NextFile(), Number(), and SetOffset().
|
private |
Definition at line 501 of file recording.h.
Referenced by cFileName(), GetLastPatPmtVersions(), and SetOffset().
|
private |
Definition at line 498 of file recording.h.
Referenced by cFileName(), GetLastPatPmtVersions(), and SetOffset().
|
private |
Definition at line 499 of file recording.h.
Referenced by cFileName(), Open(), and SetOffset().