From fefbfdf82f04ea0f30546e479df3c719bb08b36b Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 6 Jul 2009 10:55:51 +0000 Subject: Failed input->read_block() with errno EINTR is non-fatal --- xine/demux_xvdr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xine/demux_xvdr.c b/xine/demux_xvdr.c index 5378285f..b1387fd3 100644 --- a/xine/demux_xvdr.c +++ b/xine/demux_xvdr.c @@ -376,7 +376,9 @@ static void demux_xvdr_parse_pack (demux_xvdr_t *this) buf = this->input->read_block (this->input, this->video_fifo, 8128); if (!buf) { - if (errno != EAGAIN) + if (errno == EINTR) + LOGMSG("input->read_block() was interrupted"); + else if (errno != EAGAIN) this->status = DEMUX_FINISHED; return; } -- cgit v1.2.3