summaryrefslogtreecommitdiff
path: root/cutter.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-08-29 13:40:37 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-08-29 13:40:37 +0200
commit505574fa983b12ae872bb46f01c8782e3a15f5e1 (patch)
tree18f58253017feee55a4dda680d7518c3a5a8f3c4 /cutter.h
parent22a4f5a50431ae7ee0668f62c918c631dbb761fb (diff)
downloadvdr-505574fa983b12ae872bb46f01c8782e3a15f5e1.tar.gz
vdr-505574fa983b12ae872bb46f01c8782e3a15f5e1.tar.bz2
Added locking to the cCutter functions to avoid a crash in case CutRecording() is called from a plugin
Diffstat (limited to 'cutter.h')
-rw-r--r--cutter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cutter.h b/cutter.h
index afc5e935..59c44008 100644
--- a/cutter.h
+++ b/cutter.h
@@ -4,16 +4,19 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: cutter.h 2.1 2010/01/02 12:09:54 kls Exp $
+ * $Id: cutter.h 2.2 2010/08/29 13:32:33 kls Exp $
*/
#ifndef __CUTTER_H
#define __CUTTER_H
+#include "thread.h"
+
class cCuttingThread;
class cCutter {
private:
+ static cMutex mutex;
static char *editedVersionName;
static cCuttingThread *cuttingThread;
static bool error;