From b3b4876c128c255b6bf6cf2dd138ed375eccbec2 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 13 Nov 2010 17:34:14 +0000 Subject: [PATCH] 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://localhost/HandBrake/trunk@3675 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/sync.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libhb/sync.c b/libhb/sync.c index 995c3d13..34ce4603 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 ) { -- 2.11.0