From 5af17837dc5b8891f20fc6701e6da487ce66eeec Mon Sep 17 00:00:00 2001 From: Devin Heitmueller Date: Tue, 3 Jun 2014 12:16:40 +0300 Subject: input_dvb: do not terminate if read returns EOVERFLOW --- src/input/input_dvb.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 467142c0c..ba5815681 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -2574,6 +2574,9 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen, if (n > 0){ this->curpos += n; total += n; + } else if (n < 0 && errno == EOVERFLOW) { + xprintf(this->class->xine, XINE_VERBOSITY_LOG, + "input_dvb: EOVERFLOW returned. Not reading fast/often enough? \n"); } else if (n < 0 && errno!=EAGAIN) { break; } -- cgit v1.2.3