Skip to content
Snippets Groups Projects
Commit ae9f2e6f authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

lavfi/drawtext: Fix microsecond display.

Fixes ticket #4792.
parent 40eb2531
No related branches found
No related tags found
No related merge requests found
......@@ -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")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment