OSDN Git Service

segment: Set the resend_headers flag for each segment
authorMartin Storsjö <martin@martin.st>
Tue, 2 Oct 2012 21:51:46 +0000 (23:51 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 4 Oct 2012 10:52:09 +0000 (13:52 +0300)
commitf7b240434c015056bc6319ddbdb8483757cc13e2
tree6047efa518469b89268da0e77cc604c022d1f25d
parent378a6315b7c48195ffd94e6aa9aa6d663d42b35e
segment: Set the resend_headers flag for each segment

This makes sure new inline headers are emitted when the next
packet is written. This allows segmenting mpegts without calling
write_header/write_trailer (nor freeing/reiniting the muxer)
for each segment.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/segment.c