From 9f183abbdde7fa50b9425165dd792d2770098749 Mon Sep 17 00:00:00 2001 From: Alex Agranovsky <a...@sighthound.com> Date: Mon, 26 Sep 2016 16:23:45 -0400 Subject: [PATCH] avfilter/vf_drawtext: fixed default/flt formatting ignoring offset parameter
Signed-off-by: Alex Agranovsky <a...@sighthound.com> --- 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 214aef0..489db40 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -809,7 +809,7 @@ static int func_pts(AVFilterContext *ctx, AVBPrint *bp, pts += (double)delta / AV_TIME_BASE; } if (!strcmp(fmt, "flt")) { - av_bprintf(bp, "%.6f", s->var_values[VAR_T]); + av_bprintf(bp, "%.6f", pts); } else if (!strcmp(fmt, "hms")) { if (isnan(pts)) { av_bprintf(bp, " ??:??:??.???"); -- 2.5.4 (Apple Git-61)
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel