[FFmpeg-devel] [PATCH 01/12] avutil/parseutils: use microsecond precision when parsing "now" in av_parse_time()
Michael Niedermayer
michael at niedermayer.cc
Sun Feb 7 02:23:33 CET 2016
On Sat, Feb 06, 2016 at 08:13:12PM +0100, Marton Balint wrote:
> Use av_gettime() instead of time(0) for querying current time.
>
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavutil/parseutils.c | 12 +++++++-----
> tests/ref/fate/parseutils | 4 ++--
> 2 files changed, 9 insertions(+), 7 deletions(-)
after this (whole) patchset
./ffmpeg -i lena.pnm -timestamp "2016-01-01 01:01:01" test.mp4
exiftool test.mp4
results in
Create Date : 1904:01:01 00:00:00
Modify Date : 1904:01:01 00:00:00
before it does:
Create Date : 2016:01:01 00:01:01
Modify Date : 2016:01:01 00:01:01
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160207/92f2adaa/attachment.sig>
More information about the ffmpeg-devel
mailing list