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 <c...@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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to