vdr
1.7.27
|
#include <cutter.h>
Static Public Member Functions | |
static bool | Start (const char *FileName, const char *TargetFileName=NULL, bool Overwrite=true) |
static void | Stop (void) |
static bool | Active (const char *FileName=NULL) |
static bool | Error (void) |
static bool | Ended (void) |
static bool | Start (const char *FileName, const char *TargetFileName=NULL, bool Overwrite=true) |
static void | Stop (void) |
static bool | Active (const char *FileName=NULL) |
static bool | Error (void) |
static bool | Ended (void) |
Static Private Attributes | |
static cMutex | mutex |
static cString | originalVersionName |
static cString | editedVersionName |
static cCuttingThread * | cuttingThread = NULL |
static bool | error = false |
static bool | ended = false |
bool cCutter::Active | ( | const char * | FileName = NULL | ) | [static] |
Returns true if the cutter is currently active.
If a FileName is given, true is only returned if either the original or the edited file name is equal to FileName.
Definition at line 344 of file cutter.c.
References cThread::Active(), cuttingThread, editedVersionName, ended, error, cCuttingThread::Error(), cRecordingUserCommand::InvokeCommand(), mutex, originalVersionName, RUC_EDITEDRECORDING, and Stop().
Referenced by cSVDRP::CmdDELR(), cSVDRP::CmdEDIT(), cShutdownHandler::ConfirmRestart(), cShutdownHandler::ConfirmShutdown(), CutRecording(), cMenuRecordings::Delete(), cReplayControl::EditCut(), main(), cMenuEditRecording::ProcessKey(), and cMenuMain::Update().
static bool cCutter::Active | ( | const char * | FileName = NULL | ) | [static] |
Returns true if the cutter is currently active.
If a FileName is given, true is only returned if either the original or the edited file name is equal to FileName.
bool cCutter::Ended | ( | void | ) | [static] |
static bool cCutter::Ended | ( | void | ) | [static] |
bool cCutter::Error | ( | void | ) | [static] |
static bool cCutter::Error | ( | void | ) | [static] |
static bool cCutter::Start | ( | const char * | FileName, |
const char * | TargetFileName = NULL , |
||
bool | Overwrite = true |
||
) | [static] |
bool cCutter::Start | ( | const char * | FileName, |
const char * | TargetFileName = NULL , |
||
bool | Overwrite = true |
||
) | [static] |
Definition at line 282 of file cutter.c.
References cRecordings::AddByName(), cInterface::Confirm(), cuttingThread, editedVersionName, ended, error, cList< T >::First(), cRecording::FramesPerSecond(), Interface, cRecording::IsPesRecording(), cMarks::Load(), MakeDirs(), mutex, originalVersionName, cRecording::PrefixFileName(), PrefixVideoFileName(), Recordings, RemoveVideoFile(), cRecording::SetStartTime(), cRecording::Start(), tr, cRecording::UpdateFileName(), and cRecording::WriteInfo().
Referenced by cSVDRP::CmdEDIT(), CutRecording(), cReplayControl::EditCut(), and cMenuEditRecording::ProcessKey().
void cCutter::Stop | ( | void | ) | [static] |
Definition at line 325 of file cutter.c.
References cThread::Active(), cuttingThread, cRecordings::DelByName(), editedVersionName, Error(), cCuttingThread::Error(), esyslog, isyslog, mutex, cReplayControl::NowReplaying(), Recordings, RemoveVideoFile(), and cControl::Shutdown().
Referenced by Active(), cMenuRecordings::Delete(), main(), and cMenuMain::ProcessKey().
static void cCutter::Stop | ( | void | ) | [static] |
static cCuttingThread * cCutter::cuttingThread = NULL [static, private] |
static cString cCutter::editedVersionName [static, private] |
static bool cCutter::ended = false [static, private] |
static bool cCutter::error = false [static, private] |
static cMutex cCutter::mutex [static, private] |
static cString cCutter::originalVersionName [static, private] |