mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed failing watchdog timer if program hangs in OSD activities
This commit is contained in:
parent
bf45cfc3b9
commit
49b2813699
@ -8,6 +8,7 @@ Carsten Koch <Carsten.Koch@icem.de>
|
|||||||
for his idea of using multiple disks (and for testing this feature)
|
for his idea of using multiple disks (and for testing this feature)
|
||||||
for implementing the 'new recording' indicator
|
for implementing the 'new recording' indicator
|
||||||
for suggesting that the "Back" button in replay mode should bring up the "Recordings" menu
|
for suggesting that the "Back" button in replay mode should bring up the "Recordings" menu
|
||||||
|
for fixing the watchdog timer if the program hangs in OSD activities
|
||||||
|
|
||||||
Plamen Ganev <pganev@com-it.net>
|
Plamen Ganev <pganev@com-it.net>
|
||||||
for fixing the frequency offset for Hotbird channels
|
for fixing the frequency offset for Hotbird channels
|
||||||
|
2
HISTORY
2
HISTORY
@ -892,3 +892,5 @@ Video Disk Recorder Revision History
|
|||||||
- Improved performance of SVDRP command entry.
|
- Improved performance of SVDRP command entry.
|
||||||
- Removed EPGBugfixLevel '3' - after more than a year Pro-7 finally managed to
|
- Removed EPGBugfixLevel '3' - after more than a year Pro-7 finally managed to
|
||||||
broadcast the correct timestamps for EPG events between 0:00 and 6:00!
|
broadcast the correct timestamps for EPG events between 0:00 and 6:00!
|
||||||
|
- Fixed failing watchdog timer if program hangs in OSD activities (thanks to
|
||||||
|
Carsten Koch).
|
||||||
|
3
dvbosd.c
3
dvbosd.c
@ -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: dvbosd.c 1.11 2002/01/13 15:49:28 kls Exp $
|
* $Id: dvbosd.c 1.12 2002/01/13 16:25:18 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbosd.h"
|
#include "dvbosd.h"
|
||||||
@ -391,6 +391,7 @@ void cDvbOsd::Cmd(OSD_Command cmd, int color, int x0, int y0, int x1, int y1, co
|
|||||||
// must block all signals, otherwise the command might not be fully executed
|
// must block all signals, otherwise the command might not be fully executed
|
||||||
sigset_t set, oldset;
|
sigset_t set, oldset;
|
||||||
sigfillset(&set);
|
sigfillset(&set);
|
||||||
|
sigdelset(&set, SIGALRM);
|
||||||
sigprocmask(SIG_BLOCK, &set, &oldset);
|
sigprocmask(SIG_BLOCK, &set, &oldset);
|
||||||
ioctl(videoDev, OSD_SEND_CMD, &dc);
|
ioctl(videoDev, OSD_SEND_CMD, &dc);
|
||||||
if (cmd == OSD_SetBlock) // XXX this is the only command that takes longer
|
if (cmd == OSD_SetBlock) // XXX this is the only command that takes longer
|
||||||
|
Loading…
Reference in New Issue
Block a user