summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Lampard <mlampard@users.sourceforge.net>2004-11-18 12:45:47 +0000
committerMike Lampard <mlampard@users.sourceforge.net>2004-11-18 12:45:47 +0000
commit88c4c923561fb92b616499526eabbb80cce85c85 (patch)
treeb0a40d4bd9b3a03a532c7fe4a1e4401c53e37694
parenta2adecc5b7f5a883aacc5e06b7600d21ac33e054 (diff)
downloadxine-lib-88c4c923561fb92b616499526eabbb80cce85c85.tar.gz
xine-lib-88c4c923561fb92b616499526eabbb80cce85c85.tar.bz2
increase no-data timeout in plugin_read.
CVS patchset: 7132 CVS date: 2004/11/18 12:45:47
-rw-r--r--src/input/input_dvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c
index dd496cd2f..2076ec234 100644
--- a/src/input/input_dvb.c
+++ b/src/input/input_dvb.c
@@ -1650,7 +1650,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen,
while (total<len){
- if(poll(&pfd,1,2000)<1){
+ if(poll(&pfd,1,10000)<1){
printf("input_dvb: No data available. Signal Lost?? \n");
_x_demux_control_end(this->stream, BUF_FLAG_END_USER);
this->read_failcount++;
@@ -1682,7 +1682,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen,
write (this->record_fd, buf, total);
if(have_mutex==0)
pthread_mutex_unlock( &this->mutex );
- /* no data for 10 seconds - tell the user a possible reason */
+ /* no data for several seconds - tell the user a possible reason */
if(this->read_failcount==5){
_x_message(this->stream,1,"DVB Signal Lost. Please check connections.");
}