diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-06-25 19:10:27 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-06-25 19:10:27 +0000 |
commit | 57011a13d6587160a43cc1737d2ee395059c7fc9 (patch) | |
tree | 36c35f5a226b3e0fe30f7d6a35766d1b3b4a99cb /libavformat/options.c | |
parent | d23612efe13a14d3ffe84198d643fa1ad2ded660 (diff) | |
download | ffmpeg-57011a13d6587160a43cc1737d2ee395059c7fc9.tar.gz |
use AVFormatContext->probesize in av_find_stream_info and raise default to 5M
Originally committed as revision 19274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index a921b91c62..795d02b73d 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -40,7 +40,7 @@ static const char* format_to_name(void* ptr) #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"}, |