AVFMT_TS_NONSTRICT must be set in oformat->flags no oc->flags.

pull/4202/head
Isaac Connor 2022-04-04 16:22:20 -04:00
parent bf4ef4391a
commit 7ee8c3dfb4
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ bool VideoStore::open() {
oc->metadata = pmetadata;
out_format = oc->oformat;
oc->flags |= AVFMT_TS_NONSTRICT; // allow non increasing dts
oc->format->flags |= AVFMT_TS_NONSTRICT; // allow non increasing dts
if (video_in_stream) {
#if LIBAVCODEC_VERSION_CHECK(57, 64, 0, 64, 0)