summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorAndreas Mair <andreas@vdr-developer.org>2011-04-12 12:30:01 +0200
committerAndreas Mair <andreas@vdr-developer.org>2011-04-12 12:30:01 +0200
commite4b4903d2401bcdfc6fd27836c0ff93fd895cbc8 (patch)
treeaee13d7636060cc98bcbcc9dbfb98d0f294c1383 /tools.c
parentc220913cd8fb490b5a2e427d9b39ea303fb617c2 (diff)
downloadvdr-plugin-extrecmenu-e4b4903d2401bcdfc6fd27836c0ff93fd895cbc8.tar.gz
vdr-plugin-extrecmenu-e4b4903d2401bcdfc6fd27836c0ff93fd895cbc8.tar.bz2
Fix using the VDR cutter.
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools.c b/tools.c
index e6d784a..fe7fe6e 100644
--- a/tools.c
+++ b/tools.c
@@ -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))