Hi! Attached patch fixes ticket #4792 for me, please comment.
Carl Eugen
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index e96bfb6..1ef3ecb 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")) {
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel