]> granicus.if.org Git - handbrake/commit
Add temporally overlapping subtitle support.
authordavidfstr <no-reply@handbrake.fr>
Fri, 25 Feb 2011 01:08:33 +0000 (01:08 +0000)
committerdavidfstr <no-reply@handbrake.fr>
Fri, 25 Feb 2011 01:08:33 +0000 (01:08 +0000)
commit565e8b19462d5d3183ff922bc062f52262b49b49
tree646a4e3bfa22ca28722409bd4cd4d6e0bbf96757
parent26e7f602344af0d873950778a582bffb2cb26741
Add temporally overlapping subtitle support.
* New subtitle sync algorithm added to sync work-object ("simultaneous").
  Classic algorithm preserved but disabled.
* Render work-object now supports queueing a /list/ of subtitles.
* FIFOs have been extended to support pushing/popping buffer-lists as single elements.
* Added SUBSYNC_VERBOSE_TIMING flag to debug timing issues related to subtitle display.

Observable behaviors changed in the new subtitle sync algorithm:
* Temporally overlapping subtitles are no longer trimmed to be non-overlapping.
* Subtitles less than two seconds long are no longer artificially extended. Sorry, Indochine fans.
* Subtitles that stop before they start will never be displayed. The old algorithm will display such subtitles if they begin in the future (relative to the current video frame being processed).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3804 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decssasub.c
libhb/fifo.c
libhb/internal.h
libhb/render.c
libhb/sync.c