From ae9f2e6f2813ab78b7b4e11ac80dd1a2abec5c25 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 3 Jan 2016 22:55:31 +0100 Subject: [PATCH] lavfi/drawtext: Fix microsecond display. Fixes ticket #4792. --- libavfilter/vf_drawtext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index e96bfb6675..1ef3ecb31f 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -824,7 +824,7 @@ static int func_pts(AVFilterContext *ctx, AVBPrint *bp, (int)(ms / (60 * 60 * 1000)), (int)(ms / (60 * 1000)) % 60, (int)(ms / 1000) % 60, - (int)ms % 1000); + (int)(ms % 1000)); } } else if (!strcmp(fmt, "localtime") || !strcmp(fmt, "gmtime")) {