OSDN Git Service

Add temporally overlapping subtitle support.
authordavidfstr <davidfstr@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 25 Feb 2011 01:08:33 +0000 (01:08 +0000)
committerdavidfstr <davidfstr@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 25 Feb 2011 01:08:33 +0000 (01:08 +0000)
commite586e3d36882d5854b3bfb13cceb6d5e5f190d9d
tree646a4e3bfa22ca28722409bd4cd4d6e0bbf96757
parentb1211bd407544d77d41de3a25b1895f2f2d2d60d
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://localhost/HandBrake/trunk@3804 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decssasub.c
libhb/fifo.c
libhb/internal.h
libhb/render.c
libhb/sync.c