AVFMT_TS_NONSTRICT must be set in oformat->flags no oc->flags.
parent
bf4ef4391a
commit
7ee8c3dfb4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue