From eacc40e84a3cdf4755c55339e9b46e933fc557c9 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 5 Feb 2009 18:32:42 +0000 Subject: [PATCH] use timestamp as creation date Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxfenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 4e88cb5a3b..414ef5504f 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -359,9 +359,9 @@ static void mxf_write_preface(AVFormatContext *s) 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);