Mercurial > libavformat.hg
diff avformat.h @ 5200:cd884511ec8b libavformat
Make packet interleaving in the muxer not scan through the whole
buffer when simply appending at the end works.
Much faster if one stream ends prematurely.
Fixes issue1379.
author | michael |
---|---|
date | Wed, 16 Sep 2009 00:59:15 +0000 |
parents | b22d48626092 |
children | 36d130853c9b |
line wrap: on
line diff
--- a/avformat.h Wed Sep 16 00:56:31 2009 +0000 +++ b/avformat.h Wed Sep 16 00:59:15 2009 +0000 @@ -450,6 +450,12 @@ */ #define MAX_PROBE_PACKETS 100 int probe_packets; + + /** + * Number of packets in packet_buffer for this stream when muxing. + * used internally, NOT PART OF PUBLIC API, dont read or write from outside of libav* + */ + int num_in_packet_buffer; } AVStream; #define AV_PROGRAM_RUNNING 1