diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-06-17 16:04:54 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-06-17 16:04:54 +0200 |
commit | eade06edcbbb07f838fda8ddac53984d7bdd57fc (patch) | |
tree | 3c36095cfe291c66ac003ae0d0ee2590c6840c9f | |
parent | 04fafc56d5f430ae289eaeabec24e2831e92d191 (diff) | |
download | nihav-eade06edcbbb07f838fda8ddac53984d7bdd57fc.tar.gz |
mov: set DTS to PTS when actual value is not available
-rw-r--r-- | nihav-commonfmt/src/demuxers/mov.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |