# HG changeset patch # User michaelni # Date 1052167643 0 # Node ID b7ce3b3dc171cc3082539297b31f32194733dd9c # Parent 23f62139c0137d5a39e2e0b5f5e164f0e3cf7f04 VOB stream patch ba (Brian Foley ) diff -r 23f62139c013 -r b7ce3b3dc171 utils.c --- a/utils.c Mon May 05 12:59:42 2003 +0000 +++ b/utils.c Mon May 05 20:47:23 2003 +0000 @@ -475,18 +475,18 @@ int min_read_size, max_read_size; /* typical mpeg ts rate is 40 Mbits. DVD rate is about 10 - Mbits. We read at most 0.1 second of file to find all streams */ + Mbits. We read at most 0.2 second of file to find all streams */ /* XXX: base it on stream bitrate when possible */ if (ic->iformat == &mpegts_demux) { /* maximum number of bytes we accept to read to find all the streams in a file */ - min_read_size = 3000000; + min_read_size = 6000000; } else { - min_read_size = 125000; + min_read_size = 250000; } /* max read size is 2 seconds of video max */ - max_read_size = min_read_size * 20; + max_read_size = min_read_size * 10; /* set initial codec state */ for(i=0;inb_streams;i++) {