summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-15 09:37:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-15 09:37:54 +0200
commitfc4bed511d1ab6faedffedd34846198b5955c5fd (patch)
tree8ece0dcfba70cf68535d5c7d555da6931bf7e450 /osd.h
parentc13d6e6070d895dd33f82e80b5d045cbb417bc6c (diff)
downloadvdr-fc4bed511d1ab6faedffedd34846198b5955c5fd.tar.gz
vdr-fc4bed511d1ab6faedffedd34846198b5955c5fd.tar.bz2
Added a mutex to protect cOsd::Osds from simultaneous access from different threads
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/osd.h b/osd.h
index b56853a3..ab10e42b 100644
--- a/osd.h
+++ b/osd.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.h 2.13 2011/04/17 14:24:32 kls Exp $
+ * $Id: osd.h 2.14 2011/08/15 09:22:50 kls Exp $
*/
#ifndef __OSD_H
@@ -709,6 +709,7 @@ class cOsd {
private:
static int osdLeft, osdTop, osdWidth, osdHeight;
static cVector<cOsd *> Osds;
+ static cMutex mutex;
bool isTrueColor;
cBitmap *savedBitmap;
cBitmap *bitmaps[MAXOSDAREAS];