[SCM] libav/experimental: use timestamp as creation date

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:36:57 UTC 2013


The following commit has been merged in the experimental branch:
commit eacc40e84a3cdf4755c55339e9b46e933fc557c9
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Thu Feb 5 18:32:42 2009 +0000

    use timestamp as creation date
    
    Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 4e88cb5..414ef55 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list