summaryrefslogtreecommitdiff
path: root/pages/epginfo.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/epginfo.ecpp')
-rw-r--r--pages/epginfo.ecpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/epginfo.ecpp b/pages/epginfo.ecpp
index 91e72f9..f177771 100644
--- a/pages/epginfo.ecpp
+++ b/pages/epginfo.ecpp
@@ -72,6 +72,9 @@ using namespace std;
// check for event:
else if (epgid.compare(0, event.length(), event) == 0) {
#if VDRVERSNUM >= 20301
+ /* Need to lock here channels also, because CreateEpgInfo will lock
+ * it also and this will result in a wrong lock order */
+ LOCK_CHANNELS_READ;
LOCK_SCHEDULES_READ;
epgEvent = EpgEvents::CreateEpgInfo(epgid, Schedules);
#else