use timestamp as creation date

Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 16 years ago
parent 71a48ff23c
commit eacc40e84a
  1. 4
      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);

Loading…
Cancel
Save