summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2009-05-06 04:16:40 +0000
committereddyg <[email protected]>2009-05-06 04:16:40 +0000
commitf79870292926127a3be70c072eca37f653957fc5 (patch)
treea3b7e466a846b1946b3c8fc0989e81b8f8939cba /libhb/sync.c
parent6add7d899f49abbe2b6cc0702296941e948f5ef5 (diff)
VOBSUB encoder skeleton for use with mkv VOBSUB pass-through
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2389 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 39be41310..fb02b1387 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -413,6 +413,8 @@ static void SyncVideo( hb_work_object_t * w )
*
* What about discontinuity boundaries - not delt
* with here - Van?
+ *
+ * Bypass the sync fifo altogether.
*/
if( sub->size == 0 || sub->start < cur->start )
{
@@ -638,14 +640,14 @@ static void SyncVideo( hb_work_object_t * w )
} else {
/*
* Pass-Through, pop it off of the raw queue, rewrite times and
- * make it available to be muxed.
+ * make it available to be reencoded.
*/
uint64_t sub_duration;
sub = hb_fifo_get( subtitle->fifo_raw );
sub_duration = sub->stop - sub->start;
sub->start = buf_tmp->start;
sub->stop = sub->start + duration;
- hb_fifo_push( subtitle->fifo_out, sub );
+ hb_fifo_push( subtitle->fifo_sync, sub );
}
} else {
/*