summaryrefslogtreecommitdiffstats
path: root/libhb/muxcommon.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-03-19 17:20:17 +0000
committerjstebbins <[email protected]>2010-03-19 17:20:17 +0000
commit8101df03de52879c876ca73b02a627baa4d09c4a (patch)
treed18c466a54d8d8cf75fc09c90babec69520b3629 /libhb/muxcommon.c
parent4d1726c2fe7bf4ea48ca679be539da5702e9a1f2 (diff)
reduce mux interleave threshold more to prevent out of memory situations
when skewed timestamps or premature end of a stream is encountered, the muxer buffers streams in an attempt to interleave stream timestamps. this threshold tells it when to give up. The previous value still allowed out of memory conditions with windows 2GB per application limit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3169 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxcommon.c')
-rw-r--r--libhb/muxcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c
index 01f4845a7..a5ee9b0ba 100644
--- a/libhb/muxcommon.c
+++ b/libhb/muxcommon.c
@@ -111,7 +111,7 @@ static void mf_push( hb_mux_t * mux, int tk, hb_buffer_t *buf )
if ( ( ( in + 2 ) & mask ) == ( track->mf.out & mask ) )
{
- if ( track->mf.flen >= 1024 )
+ if ( track->mf.flen >= 256 )
{
mux->rdy = mux->allRdy;
}