From 64a71150650616ab0309da1a76e37e762572f641 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 19 Nov 2018 22:44:07 -0600 Subject: [PATCH] Fix number of digits for seconds. --- src/modules/plus/filter_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/plus/filter_timer.c b/src/modules/plus/filter_timer.c index 519f1f72a..32da3281d 100644 --- a/src/modules/plus/filter_timer.c +++ b/src/modules/plus/filter_timer.c @@ -90,7 +90,7 @@ static void get_timer_str( mlt_filter filter, mlt_frame frame, char* text ) } else if ( !strcmp( format, "MM:SS.SS" ) ) { - snprintf( text, MAX_TEXT_LEN, "%02d:%02.2f", hours * 60 + mins, secs ); + snprintf( text, MAX_TEXT_LEN, "%02d:%05.2f", hours * 60 + mins, secs ); } else if ( !strcmp( format, "SS" ) ) {