diff options
author | jstebbins <[email protected]> | 2011-11-14 23:50:18 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-11-14 23:50:18 +0000 |
commit | c557fe3d54da7141e898aae7f57f9897d92ba64c (patch) | |
tree | a5f6658d3817adf92f56e7fe0d358cc41ab6e429 /libhb/internal.h | |
parent | cc95c30563cae17eff94e974f3e3dd07f1e2b309 (diff) |
Fix interleaving of subtitles in muxer
Specifically, this affects closed captions which are pushed into the
pipeline very late. CC's are dribbled in 2 bytes per video frame.
The entire CC that we put into a subtitle frame isn't available till
we see the signal for the end of the CC. This can be several seconds
after it began. So I have established a minimum buffer size that the
muxer accumulates before it outputs any data. This allows CCs to get
into the pipeline before the muxer outputs the interleave interval that
they belong in.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4351 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index ee6bdccb2..00a7b3eb9 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -111,6 +111,7 @@ void hb_buffer_pool_free( void ); hb_buffer_t * hb_buffer_init( int size ); void hb_buffer_realloc( hb_buffer_t *, int size ); +void hb_buffer_reduce( hb_buffer_t * b, int size ); void hb_buffer_close( hb_buffer_t ** ); void hb_buffer_copy_settings( hb_buffer_t * dst, const hb_buffer_t * src ); |