From 2f3f9f2e244bfb544c3c44279527bfea5e6d50f8 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 20 Nov 2002 12:22:19 +0000 Subject: I forgot to adapt this CVS patchset: 3313 CVS date: 2002/11/20 12:22:19 --- src/xine-engine/metronom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index faf803c96..6b857f211 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.102 2002/11/20 11:57:49 mroi Exp $ + * $Id: metronom.c,v 1.103 2002/11/20 12:22:19 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -311,8 +311,8 @@ static void metronom_handle_video_discontinuity (metronom_t *this, int type, } } - if ( this->video_vpts < metronom_get_current_time(this) ) { - this->video_vpts = PREBUFFER_PTS_OFFSET + metronom_get_current_time(this); + if ( this->video_vpts < this->clock->get_current_time(this->clock) ) { + this->video_vpts = PREBUFFER_PTS_OFFSET + this->clock->get_current_time(this->clock); this->audio_vpts = this->video_vpts; printf ("metronom: vpts adjusted with prebuffer to %lld\n", this->video_vpts); } -- cgit v1.2.3