diff options
author | jstebbins <[email protected]> | 2009-11-05 22:50:06 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-11-05 22:50:06 +0000 |
commit | 953bf32afdef1656cc22c3ab973b32cc4b2b78f0 (patch) | |
tree | a49f66d36ae0e03fff486c0fb418f3f0701a6e43 /libhb/sync.c | |
parent | 972320287e9c2f6ce404b2bddc28151595d94eff (diff) |
possible fix for WDTV vobsub duration problem
There were 2 problems
1. The duration was not being written to the mkv track. Other players use
the timestamps in the vobsub. WDTV appears to use the duration in the mkv.
2. The vobsub timestamps were being rewritten improperly in sync.c. They
don't need to be rewritten at all.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2917 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
-rw-r--r-- | libhb/sync.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index 1ceeee9c3..514b1fb43 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -483,8 +483,6 @@ static void SyncVideo( hb_work_object_t * w ) */ if( sub->start < cur->start ) { - uint64_t duration; - duration = sub->stop - sub->start; sub = hb_fifo_get( subtitle->fifo_raw ); hb_fifo_push( subtitle->fifo_out, sub ); } else { @@ -664,16 +662,8 @@ 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 - * reencoded. */ - uint64_t sub_duration; sub = hb_fifo_get( subtitle->fifo_raw ); - sub_duration = sub->stop - sub->start; - sub->start = cur->start; - buf_tmp = hb_fifo_see( job->fifo_raw ); - int64_t duration = buf_tmp->start - cur->start; - sub->stop = sub->start + duration; hb_fifo_push( subtitle->fifo_sync, sub ); } } else { |