avformat/mux: support re-interleaving packets in ff_write_chained()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
383a04a127
commit
351b22caae
9 changed files with 12 additions and 10 deletions
|
@ -766,7 +766,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||
av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base),
|
||||
av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, &st->time_base));
|
||||
|
||||
ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s);
|
||||
ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s, 0);
|
||||
|
||||
fail:
|
||||
if (pkt->stream_index == seg->reference_stream_index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue