aboutsummaryrefslogtreecommitdiff
path: root/writer.go
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-02-14 00:45:21 +0100
committerOnur Gündüz <ogunduz@gmail.com>2026-02-14 00:45:21 +0100
commitd289b5e39113b2f43a4df7b1769e6a36fc35cc1f (patch)
tree03995c4583970f2a58de42e51d8f63d0b708b1b5 /writer.go
parentb77eda22996be44ecb9c63f665c0acf1d6786821 (diff)
downloadmp4-d289b5e39113b2f43a4df7b1769e6a36fc35cc1f.tar.gz
mp4-d289b5e39113b2f43a4df7b1769e6a36fc35cc1f.zip
Add TODO comment about Tfdt size
Diffstat (limited to 'writer.go')
-rw-r--r--writer.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/writer.go b/writer.go
index 1adfac2..08fc326 100644
--- a/writer.go
+++ b/writer.go
@@ -401,6 +401,9 @@ func (w *Writer) WriteTfdt(baseMediaDecodeTime uint64) {
w.StartFullBox(TypeTfdt, 0, 0)
w.putUint32(uint32(baseMediaDecodeTime))
}
+ // TODO: maybe always use version 1 (64-bit)?
+ // w.StartFullBox(TypeTfdt, 1, 0)
+ // w.putUint64(baseMediaDecodeTime)
w.EndBox()
}