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