diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2014-06-03 12:16:40 +0300 |
---|---|---|
committer | Devin Heitmueller <dheitmueller@kernellabs.com> | 2014-06-03 12:16:40 +0300 |
commit | 5af17837dc5b8891f20fc6701e6da487ce66eeec (patch) | |
tree | b5cbf4e4d1f5357fd75941630312ad02382ba05e /src | |
parent | a2ee90a8529677770f8bf8c39ae2cfdb6ce7b7dc (diff) | |
download | xine-lib-5af17837dc5b8891f20fc6701e6da487ce66eeec.tar.gz xine-lib-5af17837dc5b8891f20fc6701e6da487ce66eeec.tar.bz2 |
input_dvb: do not terminate if read returns EOVERFLOW
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_dvb.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |