diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-05-19 17:56:32 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-05-19 17:56:32 +0200 |
commit | cbd447bb941dc74a433e74a1031bd9ab8be9b584 (patch) | |
tree | 6f544af92a679dc11a5f8e66874a29c1b127dbee | |
parent | 68da790c776f9b986c69b74e8ab2898e5909e6b3 (diff) | |
download | skin-lcarsng-cbd447bb941dc74a433e74a1031bd9ab8be9b584.tar.gz skin-lcarsng-cbd447bb941dc74a433e74a1031bd9ab8be9b584.tar.bz2 |
VDR-2.4.2 adjustments
-rw-r--r-- | displaymenu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/displaymenu.c b/displaymenu.c index 445e51f..813d66e 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -1493,6 +1493,9 @@ void cLCARSNGDisplayMenu::Flush(void) } default: if ((viewmode != efullscreen && viewmode != esmalscreen) || (MenuCategory() == mcMain)) { +#if APIVERSNUM > 20402 + cMutexLock ControlMutexLock; +#endif if (!Device->Replaying() || Device->Transferring()) { #if APIVERSNUM > 20300 LOCK_CHANNELS_READ; @@ -1502,7 +1505,11 @@ void cLCARSNGDisplayMenu::Flush(void) #endif DrawLive(Channel); } +#if APIVERSNUM > 20402 + else if (cControl *Control = cControl::Control(ControlMutexLock, true)) +#else else if (cControl *Control = cControl::Control(true)) +#endif DrawPlay(Control); } } |