diff options
author | jstebbins <[email protected]> | 2010-11-13 17:34:14 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-11-13 17:34:14 +0000 |
commit | 796eed0b65d5de0ab0c3b9705950c14243f0a0e3 (patch) | |
tree | 131b494bb567359e78399dac790baae3a7464abb /libhb | |
parent | 55928e27ebf6399c6858d2a95a3701b3dbba2e47 (diff) |
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
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/sync.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) { |