diff options
author | Marton Balint | 2016-02-04 02:09:48 +0100 |
---|---|---|
committer | Marton Balint | 2016-02-14 01:46:35 +0100 |
commit | 3235241061d6a7d79b261b13596620e5dcf015bf (patch) | |
tree | 96b99960c21a1184fb116985b540171ee835babc /tests | |
parent | 35890aaa653a249e3f8253f11b85ed29c408259d (diff) |
avutil/parseutils: use microsecond precision when parsing "now" in av_parse_time()
Use av_gettime() instead of time(0) for querying current time.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/parseutils | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/parseutils b/tests/ref/fate/parseutils index 1482452857..176140ce8c 100644 --- a/tests/ref/fate/parseutils +++ b/tests/ref/fate/parseutils @@ -70,8 +70,8 @@ fmt:'%Y-%m-%d %H:%M:%S' spec:'2012-12-21 20:12:21' -> 2012-12-21 20:12:21 fmt:' %Y - %m - %d %H : %M : %S' spec:' 2012 - 12 - 21 20 : 12 : 21' -> 2012-12-21 20:12:21 Testing av_parse_time() -(now is 2012-03-17 09:14:13 +0100, local time is UTC+1) -now -> 1331972053.000000 = 2012-03-17T08:14:13Z +(now is 2012-03-17 09:14:13.2 +0100, local time is UTC+1) +now -> 1331972053.200000 = 2012-03-17T08:14:13Z 12:35:46 -> 1331984146.000000 = 2012-03-17T11:35:46Z 2000-12-20 0:02:47.5z -> 977270567.500000 = 2000-12-20T00:02:47Z 2000-12-20T010247.6 -> 977270567.600000 = 2000-12-20T00:02:47Z |