1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

use timestamp as creation date

Originally committed as revision 17007 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-02-05 18:32:42 +00:00
parent 71a48ff23c
commit eacc40e84a

View File

@ -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);