On 07/28/2012 05:53 AM, Anton Khirnov wrote: > 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. > --- > libavformat/avformat.h | 10 +++++++++- > libavformat/utils.c | 38 ++++++++++++++++++++++++++++++++------ > tests/fate/filter.mak | 2 +- > 3 files changed, 42 insertions(+), 8 deletions(-)
LGTM! Thanks, Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
