mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Change locking in cTVGuideSearchTimer::cTVGuideSearchTimer
This commit is contained in:
parent
6139016102
commit
d666b8701e
@ -17,9 +17,11 @@ cTVGuideSearchTimer::cTVGuideSearchTimer(void) {
|
|||||||
stopTime = 2359;
|
stopTime = 2359;
|
||||||
useChannel = false;
|
useChannel = false;
|
||||||
#if VDRVERSNUM >= 20301
|
#if VDRVERSNUM >= 20301
|
||||||
|
{
|
||||||
LOCK_CHANNELS_READ;
|
LOCK_CHANNELS_READ;
|
||||||
channelMin = Channels->GetByNumber(cDevice::CurrentChannel());
|
channelMin = Channels->GetByNumber(cDevice::CurrentChannel());
|
||||||
channelMax = Channels->GetByNumber(cDevice::CurrentChannel());
|
channelMax = Channels->GetByNumber(cDevice::CurrentChannel());
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
channelMin = Channels.GetByNumber(cDevice::CurrentChannel());
|
channelMin = Channels.GetByNumber(cDevice::CurrentChannel());
|
||||||
channelMax = Channels.GetByNumber(cDevice::CurrentChannel());
|
channelMax = Channels.GetByNumber(cDevice::CurrentChannel());
|
||||||
|
Loading…
Reference in New Issue
Block a user