diff options
author | Andreas Mair <andreas@vdr-developer.org> | 2011-04-12 12:30:01 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2011-04-12 12:30:01 +0200 |
commit | e4b4903d2401bcdfc6fd27836c0ff93fd895cbc8 (patch) | |
tree | aee13d7636060cc98bcbcc9dbfb98d0f294c1383 | |
parent | c220913cd8fb490b5a2e427d9b39ea303fb617c2 (diff) | |
download | vdr-plugin-extrecmenu-e4b4903d2401bcdfc6fd27836c0ff93fd895cbc8.tar.gz vdr-plugin-extrecmenu-e4b4903d2401bcdfc6fd27836c0ff93fd895cbc8.tar.bz2 |
Fix using the VDR cutter.
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | tools.c | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -7,7 +7,7 @@ VDR Plugin 'extrecmenu' Revision History - [amair] Merged following changes from v1.3-devel head (Submitted by Joe_D @vdr-portal.de). - [amair] Lifetime and priority for TS recordings can be edited again. - [amair] Use international characters for renaming recordings and creating directories like VDR. -- [amair] Don't use the VDR cutter by default as this crashes VDR (Can be enabled by defining USE_VDR_CUTTER). +- [amair] Use the VDR cutter by default if VDR >= 1.7.16. - [amair] Updated Italian translation (Submitted by Diego Pierotto). - [amair] Enable support for PIN plugin if USE_PINPLUGIN is set to "1" in Make.config. - [amair] Reorganiced contrib directory. @@ -13,6 +13,10 @@ #include "tools.h" #include "mymenusetup.h" +#if VDRVERSNUM > 10715 +# define USE_VDR_CUTTER +#endif + using namespace std; extern bool VfatFileSytem; @@ -309,8 +313,8 @@ void WorkerThread::Action() if(!CutRecording(cutteritem->FileName().c_str())) #else if (!cCutter::Start(cutteritem->FileName().c_str())) - Skins.QueueMessage(mtError,tr("Can't start editing process!")); #endif + Skins.QueueMessage(mtError,tr("Can't start editing process!")); #else // create filename for edited recording, check for recordings with this name, if exists -> delete recording // (based upon VDR's code (cutter.c)) |