changeset 4382:78e03e2c698d libavformat

use timestamp as creation date
author bcoudurier
date Thu, 05 Feb 2009 18:32:42 +0000
parents c535276fb3ff
children 0b688ff86d2f
files mxfenc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxfenc.c	Thu Feb 05 17:00:10 2009 +0000
+++ b/mxfenc.c	Thu Feb 05 18:32:42 2009 +0000
@@ -359,9 +359,9 @@
     mxf_write_uuid(pb, Preface, 0);
     PRINT_KEY(s, "preface uid", pb->buf_ptr - 16);
 
-    // write create date as unknown
+    // write creation date
     mxf_write_local_tag(pb, 8, 0x3B02);
-    put_be64(pb, 0);
+    put_be64(pb, s->timestamp);
 
     // write version
     mxf_write_local_tag(pb, 2, 0x3B05);