File femon-2.4.0-vdr27.diff of Package vdr-plugin-femon
diff --git a/femon.c b/femon.c
index e6ae025..199e2a3 100644
--- a/femon.c
+++ b/femon.c
@@ -121,7 +121,8 @@ cOsdObject *cPluginFemon::MainMenuAction(void)
// Perform the action when selected from the main VDR menu.
debug1("%s", __PRETTY_FUNCTION__);
LOCK_CHANNELS_READ;
- if (cControl::Control() || (Channels->Count() <= 0))
+ cMutexLock ControlMutexLock;
+ if (cControl::Control(ControlMutexLock) || (Channels->Count() <= 0))
Skins.Message(mtInfo, tr("Femon not available"));
else
return cFemonOsd::Instance(true);