summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-06-12 19:19:18 +0000
committerjstebbins <[email protected]>2011-06-12 19:19:18 +0000
commitca73c363b550f8b45d05cdc626a4246b38d5f989 (patch)
treeaadfdd8bb7d198cd2f390496699584e83d4ae6f4
parent991912416a55dfcf100591f31e6e72f3f2f5275d (diff)
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
-rw-r--r--libhb/sync.c2
1 files changed, 1 insertions, 1 deletions
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"