diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-05-16 19:32:36 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-05-16 19:32:36 +0000 |
commit | 4ed7d86315c1b69cef3c11ed0adf4c52771986d6 (patch) | |
tree | 9fe533b161a6de8368267d4a0c2414f20b2b4e3f /src | |
parent | 4342442ad0ce25f88453d053271630f8257cf143 (diff) | |
download | xine-lib-4ed7d86315c1b69cef3c11ed0adf4c52771986d6.tar.gz xine-lib-4ed7d86315c1b69cef3c11ed0adf4c52771986d6.tar.bz2 |
fix [ 855802 ] xine-lib -- input_pvr.c -- unpause seeks to beginning
CVS patchset: 6554
CVS date: 2004/05/16 19:32:36
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_pvr.c | 8 |
1 files changed, 4 insertions, 4 deletions
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:/<prefix_to_tmp_files>\!<prefix_to_saved_files>\!<max_page_age> * - * $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 */ |