From: saintdev Date: Mon, 16 Jul 2007 23:17:04 +0000 (+0000) Subject: Set MinCache to 1 if we're using x264 and b-frames. X-Git-Tag: 0.9.0~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=279364eaf2fb2cbb53f5c1f76dca5c498592857f;p=handbrake Set MinCache to 1 if we're using x264 and b-frames. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@704 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c index 9bb4ece58..41c61b574 100644 --- a/libhb/muxmkv.c +++ b/libhb/muxmkv.c @@ -85,6 +85,8 @@ static int MKVInit( hb_mux_object_t * m ) memcpy( avcC+11+job->config.h264.sps_length, job->config.h264.pps, job->config.h264.pps_length ); track->codecPrivate = avcC; track->codecPrivateSize = avcC_len; + if (job->areBframes) + track->minCache = 1; break; case HB_VCODEC_XVID: case HB_VCODEC_FFMPEG: