On 19/11/11 15:35, Justin Ruggles wrote: > On 11/19/2011 01:55 AM, Luca Barbato wrote: > >> av_interleave_packet_per_dts waits untill it gets a frame for each >> stream before outputting packets in interleaved order. >> >> Sparse streams tend to add up latency and in specific cases end up >> allocating a large amount of memory. >> >> Flush the packet queue if the packets in the queue have a delay >> larger than the max_delay. >> >> Original report of the issue and initial proposed solution by >> [email protected] on bug 31. >> --- >> libavformat/avformat.h | 5 ++++- >> libavformat/utils.c | 34 +++++++++++++++++++++++++++------- >> 2 files changed, 31 insertions(+), 8 deletions(-) >> >> diff --git a/libavformat/avformat.h b/libavformat/avformat.h >> index 33e820e..d47fd92 100644 >> --- a/libavformat/avformat.h >> +++ b/libavformat/avformat.h > > > as a general comment, why all the unrelated cosmetic changes? it makes > the patch more difficult to read.
I was cleaning up to understand first and that was a leftover. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
