From ca73c363b550f8b45d05cdc626a4246b38d5f989 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 12 Jun 2011 19:19:18 +0000 Subject: libhb: fix problem with processing audio gaps in dts streams incorrect start time was placed on the outgoing dts packet when a gap was detected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4053 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/sync.c') diff --git a/libhb/sync.c b/libhb/sync.c index 670c019f2..09e88538c 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -1043,7 +1043,7 @@ static int syncAudioWork( hb_work_object_t * w, hb_buffer_t ** buf_in, pv->common->audio_pts_slip += (start - sync->next_start); pv->common->video_pts_slip += (start - sync->next_start); hb_unlock( pv->common->mutex ); - *buf_out = buf; + *buf_out = OutputAudioFrame( w->audio, buf, sync ); return HB_WORK_OK; } hb_log( "sync: adding %d ms of silence to audio 0x%x" -- cgit v1.2.3