diff options
author | jstebbins <[email protected]> | 2011-09-14 16:03:52 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-09-14 16:03:52 +0000 |
commit | 3cdb1f293da7bb6e1f506c899ced038068aeeddf (patch) | |
tree | 53552ce38e0c8f23675cbf71f4dc68cc302315b7 /libhb/fifo.c | |
parent | ace57e1b754f84cad9603e7ed14aa9c6bb705461 (diff) |
Improve mpeg PS support
Adds support for MPEG-1 PS, HDDVD EVOB, and video codecs other
than mpeg1/2 in PS
Improves probing of unknown stream types by using Libav's probing
utilities
Use Libav to probe for dts profile in TS and PS files when profile is
unknown
Improves framerate detection (improved telecine detection)
Fixes preview generation for mpeg video that has only a single sequence
header
Patches Libav to handle VC-1 pulldown flags properly
Improve PS and TS stream log information
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4220 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r-- | libhb/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c index 232741e32..42af6d9eb 100644 --- a/libhb/fifo.c +++ b/libhb/fifo.c @@ -183,7 +183,7 @@ hb_buffer_t * hb_buffer_init( int size ) void hb_buffer_realloc( hb_buffer_t * b, int size ) { - if ( size > b->alloc ) + if ( size > b->alloc || b->data == NULL ) { uint32_t orig = b->alloc; size = size_to_pool( size )->buffer_size; |