mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now checking for an empty command in cDvbTuner::GetSignalStats() to avoid a possible error message
This commit is contained in:
parent
8c1c92bff6
commit
c5461ffd9f
@ -3624,6 +3624,8 @@ Helmut Binder <cco@aon.at>
|
|||||||
for implementing handling multi packet CATs with MTD
|
for implementing handling multi packet CATs with MTD
|
||||||
for adding checking the symbol rate to cDvbTuner::IsTunedTo(), which apparently got
|
for adding checking the symbol rate to cDvbTuner::IsTunedTo(), which apparently got
|
||||||
lost in version 1.7.13
|
lost in version 1.7.13
|
||||||
|
for adding a check for an empty command in cDvbTuner::GetSignalStats() to avoid a
|
||||||
|
possible error message
|
||||||
|
|
||||||
Ulrich Eckhardt <uli@uli-eckhardt.de>
|
Ulrich Eckhardt <uli@uli-eckhardt.de>
|
||||||
for reporting a problem with shutdown after user inactivity in case a plugin is
|
for reporting a problem with shutdown after user inactivity in case a plugin is
|
||||||
|
2
HISTORY
2
HISTORY
@ -9530,3 +9530,5 @@ Video Disk Recorder Revision History
|
|||||||
several HD programmes.
|
several HD programmes.
|
||||||
- Added checking the symbol rate to cDvbTuner::IsTunedTo(), which apparently got lost
|
- Added checking the symbol rate to cDvbTuner::IsTunedTo(), which apparently got lost
|
||||||
in version 1.7.13 (thanks to Helmut Binder).
|
in version 1.7.13 (thanks to Helmut Binder).
|
||||||
|
- Now checking for an empty command in cDvbTuner::GetSignalStats() to avoid a possible
|
||||||
|
error message (thanks to Helmut Binder).
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbdevice.c 4.25 2020/10/16 13:42:13 kls Exp $
|
* $Id: dvbdevice.c 4.26 2020/10/16 13:50:36 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -900,7 +900,7 @@ bool cDvbTuner::GetSignalStats(int &Valid, double *Strength, double *Cnr, double
|
|||||||
SETCMD(DTV_STAT_POST_TOTAL_BIT_COUNT, 0); }
|
SETCMD(DTV_STAT_POST_TOTAL_BIT_COUNT, 0); }
|
||||||
if (Per) { SETCMD(DTV_STAT_ERROR_BLOCK_COUNT, 0);
|
if (Per) { SETCMD(DTV_STAT_ERROR_BLOCK_COUNT, 0);
|
||||||
SETCMD(DTV_STAT_TOTAL_BLOCK_COUNT, 0); }
|
SETCMD(DTV_STAT_TOTAL_BLOCK_COUNT, 0); }
|
||||||
if (ioctl(fd_frontend, FE_GET_PROPERTY, &CmdSeq) != 0) {
|
if (CmdSeq.num && ioctl(fd_frontend, FE_GET_PROPERTY, &CmdSeq) != 0) {
|
||||||
esyslog("ERROR: frontend %d/%d: %m (%s:%d)", adapter, frontend, __FILE__, __LINE__);
|
esyslog("ERROR: frontend %d/%d: %m (%s:%d)", adapter, frontend, __FILE__, __LINE__);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user