]> granicus.if.org Git - handbrake/commit
Fix a problem with overlapping vobsubs
authorjstebbins <jstebbins.hb@gmail.com>
Wed, 27 Apr 2011 15:05:34 +0000 (15:05 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Wed, 27 Apr 2011 15:05:34 +0000 (15:05 +0000)
commit2d81a5ec8e0851b306b82eea9fead769ff6517b3
treed8a03bbc25690f683b7e2bf4b879421ff9ae6dff
parent630a07e488b60f813332d7e740cbaf72ff8d33c1
Fix a problem with overlapping vobsubs
Since we now allow subtitles that overlap in time, it is no longer
appropriate to arbitrarily set the duration to 3 seconds when vobsubs
don't have an explicit stop time.  This causes them to overlap on the display.
So now, we set the stop time for such vobsubs to -1. Then in sync adjust the
stop time to the start of the next vobsub when it is seen.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3961 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decvobsub.c
libhb/sync.c