summaryrefslogtreecommitdiff
path: root/displaychannel.c
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-05-03 13:42:44 +0200
committerkamel5 <kamel5 (at) gmx (dot) net>2018-05-03 13:42:44 +0200
commit39dc33f360031e86e4c08f969054f6b555e738ae (patch)
tree1dffc5ff014b8871da62a431c154cffcf49e3828 /displaychannel.c
parent0ae15aebbf31c52fd676e1d68ee45402b857750d (diff)
downloadskin-nopacity-39dc33f360031e86e4c08f969054f6b555e738ae.tar.gz
skin-nopacity-39dc33f360031e86e4c08f969054f6b555e738ae.tar.bz2
Do locking for vdr-2.3.x
Diffstat (limited to 'displaychannel.c')
-rw-r--r--displaychannel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/displaychannel.c b/displaychannel.c
index a30e7fb..e90d180 100644
--- a/displaychannel.c
+++ b/displaychannel.c
@@ -101,7 +101,8 @@ void cNopacityDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Fol
}
bool recCurrent = false;
eTimerMatch TimerMatch = tmNone;
- const cTimer *Timer = Timers.GetMatch(Present, &TimerMatch);
+ LOCK_TIMERS_READ;
+ const cTimer *Timer = Timers->GetMatch(Present, &TimerMatch);
if (Timer && Timer->Recording()) {
recCurrent = true;
}