diff options
author | davidfstr <[email protected]> | 2011-02-25 01:08:33 +0000 |
---|---|---|
committer | davidfstr <[email protected]> | 2011-02-25 01:08:33 +0000 |
commit | 565e8b19462d5d3183ff922bc062f52262b49b49 (patch) | |
tree | 646a4e3bfa22ca28722409bd4cd4d6e0bbf96757 /libhb/internal.h | |
parent | 26e7f602344af0d873950778a582bffb2cb26741 (diff) |
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
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index 335c9a854..7896bee16 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -126,6 +126,8 @@ void hb_fifo_push( hb_fifo_t *, hb_buffer_t * ); void hb_fifo_push_wait( hb_fifo_t *, hb_buffer_t * ); int hb_fifo_full_wait( hb_fifo_t * f ); void hb_fifo_push_head( hb_fifo_t *, hb_buffer_t * ); +void hb_fifo_push_list_element( hb_fifo_t *fifo, hb_buffer_t *buffer_list ); +hb_buffer_t * hb_fifo_get_list_element( hb_fifo_t *fifo ); void hb_fifo_close( hb_fifo_t ** ); void hb_fifo_flush( hb_fifo_t * f ); |