From 6826cd591e5bafa151adc28b7f2880b4c5f728fd Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Fri, 8 Mar 2002 16:56:03 +0000 Subject: slight output changes CVS patchset: 1546 CVS date: 2002/03/08 16:56:03 --- src/xine-engine/metronom.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/xine-engine/metronom.c b/src/xine-engine/metronom.c index 382b037ab..a256cf054 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.61 2002/03/08 00:24:40 jcdutton Exp $ + * $Id: metronom.c,v 1.62 2002/03/08 16:56:03 heikos Exp $ */ #ifdef HAVE_CONFIG_H @@ -504,8 +504,9 @@ static int64_t metronom_got_audio_samples (metronom_t *this, int64_t pts, int64_t vpts; #ifdef LOG - printf ("metronom: got %d samples, pts is %lld, last_pts is %lld, diff = %lld\n", + printf ("metronom: got %d audio samples, pts is %lld, last_pts is %lld, diff = %lld\n", nsamples, pts, this->last_audio_pts, pts - this->last_audio_pts); + printf ("metronom: audio wrap offset is %lld\n", this->audio_wrap_offset); #endif pthread_mutex_lock (&this->lock); @@ -555,7 +556,7 @@ static int64_t metronom_got_audio_samples (metronom_t *this, int64_t pts, * for too long */ - if ( this->video_wrap_offset != this->audio_wrap_offset + if ( ( this->video_wrap_offset != this->audio_wrap_offset ) && !this->video_discontinuity && !this->audio_discontinuity ) { this->wrap_diff_counter++; -- cgit v1.2.3