From 796eed0b65d5de0ab0c3b9705950c14243f0a0e3 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 13 Nov 2010 17:34:14 +0000 Subject: fix problem with delayed audio when using point-to-point first audio buffer after finding start point had bad start time calculation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3675 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/sync.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libhb') diff --git a/libhb/sync.c b/libhb/sync.c index 995c3d13a..34ce46037 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -999,6 +999,7 @@ static int syncAudioWork( hb_work_object_t * w, hb_buffer_t ** buf_in, { hb_cond_timedwait( pv->common->next_frame, pv->common->mutex, 200 ); } + start = buf->start - pv->common->audio_pts_slip; } if ( start < 0 ) { -- cgit v1.2.3