lavfi/drawtext: Fix microsecond display.

Fixes ticket #4792.
pull/172/head
Carl Eugen Hoyos 9 years ago
parent 40eb2531b2
commit ae9f2e6f28
  1. 2
      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")) {

Loading…
Cancel
Save