diff options
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; |