From 8f1375992e4ca75874af4693df751a935bfc9d0b Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 3 Jun 2001 18:08:56 +0000 Subject: bug fixes for xine_stop and xine_exit CVS patchset: 117 CVS date: 2001/06/03 18:08:56 --- src/xine-engine/metronom.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/metronom.c') diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index 24adfba3f..c1f54405a 100644 --- a/src/xine-engine/metronom.c +++ b/src/xine-engine/metronom.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: metronom.c,v 1.6 2001/05/27 23:48:12 guenter Exp $ + * $Id: metronom.c,v 1.7 2001/06/03 18:08:56 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -68,6 +68,9 @@ static void metronom_reset (metronom_t *this) { this->stopped = 1; + this->last_pts = 0; + this->start_pts = 0; + pthread_mutex_unlock (&this->lock); } -- cgit v1.2.3