[FFmpeg-cvslog] r20483 - trunk/libavformat/options.c
cehoyos
subversion
Mon Nov 9 02:10:55 CET 2009
Author: cehoyos
Date: Mon Nov 9 02:10:55 2009
New Revision: 20483
Log:
Increase default value for max_analyze_duration, fixes issue 1506, a regression.
Modified:
trunk/libavformat/options.c
Modified: trunk/libavformat/options.c
==============================================================================
--- trunk/libavformat/options.c Mon Nov 9 00:48:15 2009 (r20482)
+++ trunk/libavformat/options.c Mon Nov 9 02:10:55 2009 (r20483)
@@ -50,7 +50,7 @@ static const AVOption options[]={
{"track", " set the track number", OFFSET(track), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E},
{"year", "set the year", OFFSET(year), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, E},
#endif
-{"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), FF_OPT_TYPE_INT, 3*AV_TIME_BASE, 0, INT_MAX, D},
+{"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), FF_OPT_TYPE_INT, 5*AV_TIME_BASE, 0, INT_MAX, D},
{"cryptokey", "decryption key", OFFSET(key), FF_OPT_TYPE_BINARY, 0, 0, 0, D},
{"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), FF_OPT_TYPE_INT, 1<<20, 0, INT_MAX, D},
{"rtbufsize", "max memory used for buffering real-time frames", OFFSET(max_picture_buffer), FF_OPT_TYPE_INT, 3041280, 0, INT_MAX, D}, /* defaults to 1s of 15fps 352x288 YUYV422 video */
More information about the ffmpeg-cvslog
mailing list