Mercurial > libavformat.hg
diff options.c @ 5071:b2aa396484d4 libavformat
use AVFormatContext->probesize in av_find_stream_info and raise default to 5M
| author | bcoudurier |
|---|---|
| date | Thu, 25 Jun 2009 19:10:27 +0000 |
| parents | 166d293b44fa |
| children | ce002ddccf1b |
line wrap: on
line diff
--- a/options.c Thu Jun 25 19:01:16 2009 +0000 +++ b/options.c Thu Jun 25 19:10:27 2009 +0000 @@ -40,7 +40,7 @@ #define D AV_OPT_FLAG_DECODING_PARAM static const AVOption options[]={ -{"probesize", NULL, OFFSET(probesize), FF_OPT_TYPE_INT, 32000, 32, INT_MAX, D}, /* 32000 from mpegts.c: 1.0 second at 24Mbit/s */ +{"probesize", "set probing size", OFFSET(probesize), FF_OPT_TYPE_INT, 5000000, 32, INT_MAX, D}, {"muxrate", "set mux rate", OFFSET(mux_rate), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E}, {"packetsize", "set packet size", OFFSET(packet_size), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E}, {"fflags", NULL, OFFSET(flags), FF_OPT_TYPE_FLAGS, DEFAULT, INT_MIN, INT_MAX, D|E, "fflags"},
