Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
5199:fc6e05b7709d | 5200:cd884511ec8b |
---|---|
448 * Number of packets to buffer for codec probing | 448 * Number of packets to buffer for codec probing |
449 * NOT PART OF PUBLIC API | 449 * NOT PART OF PUBLIC API |
450 */ | 450 */ |
451 #define MAX_PROBE_PACKETS 100 | 451 #define MAX_PROBE_PACKETS 100 |
452 int probe_packets; | 452 int probe_packets; |
453 | |
454 /** | |
455 * Number of packets in packet_buffer for this stream when muxing. | |
456 * used internally, NOT PART OF PUBLIC API, dont read or write from outside of libav* | |
457 */ | |
458 int num_in_packet_buffer; | |
453 } AVStream; | 459 } AVStream; |
454 | 460 |
455 #define AV_PROGRAM_RUNNING 1 | 461 #define AV_PROGRAM_RUNNING 1 |
456 | 462 |
457 /** | 463 /** |