mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 02:42:21 +00:00
avformat/segment: always use interleaved writes for formats with custom interleaving
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
99ebb033d2
commit
df4e008995
@ -971,7 +971,8 @@ calc_times:
|
||||
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, seg->initial_offset || seg->reset_timestamps);
|
||||
ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s,
|
||||
seg->initial_offset || seg->reset_timestamps || seg->avf->oformat->interleave_packet);
|
||||
|
||||
fail:
|
||||
if (pkt->stream_index == seg->reference_stream_index) {
|
||||
|
Loading…
Reference in New Issue
Block a user