lavfi/drawtext: Fix microsecond display.

Fixes ticket #4792.
This commit is contained in:
Carl Eugen Hoyos 2016-01-03 22:55:31 +01:00
parent 40eb2531b2
commit ae9f2e6f28
1 changed files with 1 additions and 1 deletions

View File

@ -824,7 +824,7 @@ static int func_pts(AVFilterContext *ctx, AVBPrint *bp,
(int)(ms / (60 * 60 * 1000)), (int)(ms / (60 * 60 * 1000)),
(int)(ms / (60 * 1000)) % 60, (int)(ms / (60 * 1000)) % 60,
(int)(ms / 1000) % 60, (int)(ms / 1000) % 60,
(int)ms % 1000); (int)(ms % 1000));
} }
} else if (!strcmp(fmt, "localtime") || } else if (!strcmp(fmt, "localtime") ||
!strcmp(fmt, "gmtime")) { !strcmp(fmt, "gmtime")) {