diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-08-29 13:40:37 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-08-29 13:40:37 +0200 |
commit | 505574fa983b12ae872bb46f01c8782e3a15f5e1 (patch) | |
tree | 18f58253017feee55a4dda680d7518c3a5a8f3c4 /cutter.h | |
parent | 22a4f5a50431ae7ee0668f62c918c631dbb761fb (diff) | |
download | vdr-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |