summaryrefslogtreecommitdiff
path: root/dvbosd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-01-13 16:27:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-01-13 16:27:39 +0100
commit49b2813699f81370315bef38085902f48d601827 (patch)
treee298805e79ff1fd83d81ab02fbbb81ccf8c046c3 /dvbosd.c
parentbf45cfc3b9e7985317f4727933cb513e114ab3d4 (diff)
downloadvdr-49b2813699f81370315bef38085902f48d601827.tar.gz
vdr-49b2813699f81370315bef38085902f48d601827.tar.bz2
Fixed failing watchdog timer if program hangs in OSD activities
Diffstat (limited to 'dvbosd.c')
-rw-r--r--dvbosd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dvbosd.c b/dvbosd.c
index 8457c58e..c3484300 100644
--- a/dvbosd.c
+++ b/dvbosd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@@ -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
sigset_t set, oldset;
sigfillset(&set);
+ sigdelset(&set, SIGALRM);
sigprocmask(SIG_BLOCK, &set, &oldset);
ioctl(videoDev, OSD_SEND_CMD, &dc);
if (cmd == OSD_SetBlock) // XXX this is the only command that takes longer