summaryrefslogtreecommitdiffstats
path: root/libhb/muxmkv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/muxmkv.c')
-rw-r--r--libhb/muxmkv.c2
1 files changed, 2 insertions, 0 deletions
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: