From 4ed7d86315c1b69cef3c11ed0adf4c52771986d6 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 16 May 2004 19:32:36 +0000 Subject: fix [ 855802 ] xine-lib -- input_pvr.c -- unpause seeks to beginning CVS patchset: 6554 CVS date: 2004/05/16 19:32:36 --- src/input/input_pvr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c index a9497f5fc..0ad0d9eab 100644 --- a/src/input/input_pvr.c +++ b/src/input/input_pvr.c @@ -38,7 +38,7 @@ * usage: * xine pvr:/\!\! * - * $Id: input_pvr.c,v 1.44 2004/04/10 15:45:11 mroi Exp $ + * $Id: input_pvr.c,v 1.45 2004/05/16 19:32:36 miguelfreitas Exp $ */ /************************************************************************** @@ -728,11 +728,11 @@ static int pvr_play_file(pvr_input_plugin_t *this, fifo_buffer_t *fifo, uint8_t this->play_blk = this->page_block[this->play_page]; } - /* that should be impossible */ + /* should be impossible */ if( this->play_page > this->rec_page || - this->play_blk+1 >= this->rec_blk ) { + this->play_blk > this->rec_blk ) { this->play_page = this->rec_page; - this->play_blk = this->page_block[this->play_page]; + this->play_blk = this->rec_blk; } /* check if we can reuse the same handle */ -- cgit v1.2.3