From 4036f902d36c48f761129d636be143e00b5037b2 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 21 Mar 2003 17:41:13 +0000 Subject: bugfix CVS patchset: 4463 CVS date: 2003/03/21 17:41:13 --- src/input/input_pvr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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:\!\! * - * $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; -- cgit v1.2.3