diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-03-21 17:41:13 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-03-21 17:41:13 +0000 |
commit | 4036f902d36c48f761129d636be143e00b5037b2 (patch) | |
tree | c2796fe0a58bf7f2e632fa594aa8268bde92e027 /src | |
parent | 4b3203a0697ba950397b19aaaaf2fc5c6f8e43e0 (diff) | |
download | xine-lib-4036f902d36c48f761129d636be143e00b5037b2.tar.gz xine-lib-4036f902d36c48f761129d636be143e00b5037b2.tar.bz2 |
bugfix
CVS patchset: 4463
CVS date: 2003/03/21 17:41:13
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_pvr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c index 1d170b54e..84302450d 100644 --- a/src/input/input_pvr.c +++ b/src/input/input_pvr.c @@ -39,7 +39,7 @@ * usage: * xine pvr:<prefix_to_tmp_files>\!<prefix_to_saved_files>\!<max_page_age> * - * $Id: input_pvr.c,v 1.10 2003/03/21 16:59:48 miguelfreitas Exp $ + * $Id: input_pvr.c,v 1.11 2003/03/21 17:41:13 miguelfreitas Exp $ */ /************************************************************************** @@ -836,7 +836,7 @@ static void pvr_finish_recording (pvr_input_plugin_t *this) { free(src_filename); } - if( this->save_page != -1 && !this->save_name || !strlen(this->save_name) ) { + if( this->save_page != -1 && (!this->save_name || !strlen(this->save_name)) ) { saved_show_t *show = malloc(sizeof(saved_show_t)); xine_event_t event; xine_pvr_save_data_t data; @@ -869,6 +869,8 @@ static void pvr_finish_recording (pvr_input_plugin_t *this) { this->first_page = 0; this->show_page = 0; this->save_page = -1; + this->play_blk = this->rec_blk = 0; + this->play_page = this->rec_page = 0; if( this->save_name ) free( this->save_name ); this->save_name = NULL; |