[FFmpeg-cvslog] avfilter/vf_drawtext: fixed default/ flt formatting ignoring offset parameter
Alex Agranovsky
git at videolan.org
Mon Nov 7 00:17:38 EET 2016
ffmpeg | branch: master | Alex Agranovsky <alex at sighthound.com> | Mon Sep 26 16:23:45 2016 -0400| [88db6c2890a66c557dcb372c030bbebb955eeb48] | committer: Michael Niedermayer
avfilter/vf_drawtext: fixed default/flt formatting ignoring offset parameter
Signed-off-by: Alex Agranovsky <alex at sighthound.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88db6c2890a66c557dcb372c030bbebb955eeb48
---
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 65d3baa..331d6b9 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, " ??:??:??.???");
More information about the ffmpeg-cvslog
mailing list