History

avformat/segment: always use interleaved writes for formats with custom interleaving

Marton Balint committed 6 years ago

Commit df4e0081 parent 99ebb031 file · +2 −1Browse files

Unified · Split

libavformat/segment.c+2−1
@@ -971,7 +971,8 @@ calc_times: · 970 unmodified lines
971971 av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base),
972972 av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, &st->time_base));
973973
974− ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s, seg->initial_offset || seg->reset_timestamps);
974+ ret = ff_write_chained(seg->avf, pkt->stream_index, pkt, s,
975+ seg->initial_offset || seg->reset_timestamps || seg->avf->oformat->interleave_packet);
975976
976977 fail:
977978 if (pkt->stream_index == seg->reference_stream_index) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t