vdr
2.0.7
|
#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 Private Attributes | |
static cMutex | mutex |
static cString | originalVersionName |
static cString | editedVersionName |
static cCuttingThread * | cuttingThread = NULL |
static bool | error = false |
static bool | ended = false |
|
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 715 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 |
|
static |
|
static |
Definition at line 653 of file cutter.c.
References cRecordings::AddByName(), cInterface::Confirm(), cuttingThread, editedVersionName, ended, error, cRecording::FramesPerSecond(), cMarks::GetNextBegin(), 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().
|
static |
Definition at line 696 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().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |