From eade06edcbbb07f838fda8ddac53984d7bdd57fc Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 17 Jun 2023 16:04:54 +0200 Subject: [PATCH] mov: set DTS to PTS when actual value is not available --- nihav-commonfmt/src/demuxers/mov.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-commonfmt/src/demuxers/mov.rs b/nihav-commonfmt/src/demuxers/mov.rs index f4cd393..25e65d5 100644 --- a/nihav-commonfmt/src/demuxers/mov.rs +++ b/nihav-commonfmt/src/demuxers/mov.rs @@ -1323,7 +1323,7 @@ impl Track { Some(dts) } } else { - None + Some(pts_val) }; let mut pts = NATimeInfo::new(Some(pts_val), dts, None, self.tb_num, self.tb_den); if self.chunk_offsets.len() == self.chunk_sizes.len() { // simple one-to-one mapping -- 2.39.5