From: Kostya Shishkov Date: Sat, 17 Jun 2023 14:04:54 +0000 (+0200) Subject: mov: set DTS to PTS when actual value is not available X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=eade06edcbbb07f838fda8ddac53984d7bdd57fc;p=nihav.git mov: set DTS to PTS when actual value is not available --- 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