Fixed a timeout in cDvbDevice while tuning after the frontend has been reopened

This commit is contained in:
Klaus Schmidinger 2024-07-13 12:34:42 +02:00
parent b3ad9ec699
commit 8aec1974bb
2 changed files with 4 additions and 1 deletions

View File

@ -9945,3 +9945,4 @@ Video Disk Recorder Revision History
- Fixed a crash in strreplace() for multiple replacements with strings of different
lengths (reported by Markus Ehrnsperger).
- Fixed handling of cSkinDisplayMenu::GetTextAreaFont() (reported by Matthias Senzel).
- Fixed a timeout in cDvbDevice while tuning after the frontend has been reopened.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.c 5.5 2024/07/08 18:39:18 kls Exp $
* $Id: dvbdevice.c 5.6 2024/07/13 12:34:42 kls Exp $
*/
#include "dvbdevice.h"
@ -1796,6 +1796,8 @@ void cDvbTuner::SetPowerSaveMode(bool On)
if (fd_frontend == -1) {
dsyslog("opening frontend %d/%d", adapter, frontend);
fd_frontend = dvbFrontend->Open();
lastDiseqc = NULL;
lastSource = 0;
lastUncValue = 0;
lastUncDelta = 0;
lastUncChange = 0;