On Mon, 5 Mar 2012, Justin Ruggles wrote:
Module: libav
Branch: master
Commit: a7fa75684d8fd2551ef87070d9a69349beca7260
Author: Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date: Mon Feb 27 18:07:07 2012 -0500
avformat: do not fill-in audio packet duration in compute_pkt_fields()
Use the estimated duration only to calculate missing timestamps if needed.
This made avformat_find_stream_info no longer exit after the right
max_analyze_duration in some cases that used to work before. This is due
to avformat_find_stream_info only comparing max_analyze_duration with a
sum of packet durations. (Prior to this, it also didn't terminate properly
for some video-only streams.)
Any takers on making avformat_find_stream_info terminate properly, not
relying on pkt->duration?
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel