mirror of
https://github.com/alfg/mp4-rust.git
synced 2025-04-15 08:14:15 +00:00
.
This commit is contained in:
parent
c032eef329
commit
c7cf24ecb3
1 changed files with 1 additions and 1 deletions
|
@ -952,7 +952,7 @@ impl Mp4TrackWriter {
|
|||
version: 1,
|
||||
flags: 0,
|
||||
entries: vec![ElstEntry {
|
||||
segment_duration: self.trak.mdia.mdhd.duration,
|
||||
segment_duration: (offset * 1_000) / 1_000_000,
|
||||
media_time: (offset * self.trak.mdia.mdhd.timescale as u64) / 1_000_000,
|
||||
media_rate: 1,
|
||||
media_rate_fraction: 0,
|
||||
|
|
Loading…
Reference in a new issue