aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avs.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-28 15:49:51 +0200
committerAnton Khirnov <anton@khirnov.net>2012-07-29 08:04:42 +0200
commitfe1c1198e670242f3cf9e3e1eef27cff77f3ee23 (patch)
treec528c326d45f92f823bf0db3b06721104308d59d /libavformat/avs.c
parent681ed0009905a088aae2a5caf2308d89aaa80562 (diff)
downloadffmpeg-fe1c1198e670242f3cf9e3e1eef27cff77f3ee23.tar.gz
lavf: use dts difference instead of AVPacket.duration in find_stream_info()
AVPacket.duration is mostly made up and thus completely useless, this is especially true for video streams. Therefore use dts difference for framerate estimation and the max_analyze_duration check. The asyncts test now needs -analyzeduration, because the default is 5 seconds and the audio stream in the sample appears at ~10 seconds.
Diffstat (limited to 'libavformat/avs.c')
0 files changed, 0 insertions, 0 deletions