From 8101df03de52879c876ca73b02a627baa4d09c4a Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 19 Mar 2010 17:20:17 +0000 Subject: 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 --- libhb/muxcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/muxcommon.c') 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; } -- cgit v1.2.3