From fc4bed511d1ab6faedffedd34846198b5955c5fd Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 15 Aug 2011 09:37:54 +0200 Subject: Added a mutex to protect cOsd::Osds from simultaneous access from different threads --- osd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'osd.h') 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 Osds; + static cMutex mutex; bool isTrueColor; cBitmap *savedBitmap; cBitmap *bitmaps[MAXOSDAREAS]; -- cgit v1.2.3