diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-15 09:37:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-15 09:37:54 +0200 |
commit | fc4bed511d1ab6faedffedd34846198b5955c5fd (patch) | |
tree | 8ece0dcfba70cf68535d5c7d555da6931bf7e450 /osd.h | |
parent | c13d6e6070d895dd33f82e80b5d045cbb417bc6c (diff) | |
download | vdr-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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]; |