Mercurial > libavformat.hg
comparison mxfenc.c @ 4382:78e03e2c698d libavformat
use timestamp as creation date
author | bcoudurier |
---|---|
date | Thu, 05 Feb 2009 18:32:42 +0000 |
parents | 490fde1dcbe5 |
children | bfb10be2b631 |
comparison
equal
deleted
inserted
replaced
4381:c535276fb3ff | 4382:78e03e2c698d |
---|---|
357 // write preface set uid | 357 // write preface set uid |
358 mxf_write_local_tag(pb, 16, 0x3C0A); | 358 mxf_write_local_tag(pb, 16, 0x3C0A); |
359 mxf_write_uuid(pb, Preface, 0); | 359 mxf_write_uuid(pb, Preface, 0); |
360 PRINT_KEY(s, "preface uid", pb->buf_ptr - 16); | 360 PRINT_KEY(s, "preface uid", pb->buf_ptr - 16); |
361 | 361 |
362 // write create date as unknown | 362 // write creation date |
363 mxf_write_local_tag(pb, 8, 0x3B02); | 363 mxf_write_local_tag(pb, 8, 0x3B02); |
364 put_be64(pb, 0); | 364 put_be64(pb, s->timestamp); |
365 | 365 |
366 // write version | 366 // write version |
367 mxf_write_local_tag(pb, 2, 0x3B05); | 367 mxf_write_local_tag(pb, 2, 0x3B05); |
368 put_be16(pb, 1); | 368 put_be16(pb, 1); |
369 | 369 |