OSDN Git Service

segment: Properly create new AVStreams for the chained muxer
authorMartin Storsjö <martin@martin.st>
Sat, 25 Feb 2012 23:39:32 +0000 (01:39 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 4 Oct 2012 10:52:09 +0000 (13:52 +0300)
commit0edae4e6286096023cdd6adea74722fa06029867
treebfd51b86d6e47ec570902f934ccba1d8eed996b2
parentaa9f128b7cf35509c9520a9b8d936ea79d77db0b
segment: Properly create new AVStreams for the chained muxer

Before, the chained muxer reused the AVStreams array from
the outer muxer, which made it impossible to use the proper
public functions (such as av_write_frame) when calling the
chained muxer.

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