diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-28 17:49:51 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-29 10:04:42 +0400 |
commit | fe1c1198e670242f3cf9e3e1eef27cff77f3ee23 (patch) | |
tree | c528c326d45f92f823bf0db3b06721104308d59d /ffprobe.c | |
parent | 681ed0009905a088aae2a5caf2308d89aaa80562 (diff) |
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 'ffprobe.c')
0 files changed, 0 insertions, 0 deletions