From 6134e62966cb138af862d45b0c6ca4f9f1fa2850 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 7 Dec 2013 23:01:57 -0600 Subject: [PATCH] Fix clock hand for down direction --- src/modules/plus/producer_count.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/plus/producer_count.c b/src/modules/plus/producer_count.c index 4e89ab41..92f5fac0 100644 --- a/src/modules/plus/producer_count.c +++ b/src/modules/plus/producer_count.c @@ -464,7 +464,7 @@ static void add_clock_to_frame( mlt_producer producer, mlt_frame frame, mlt_posi if( !strcmp( direction, "down" ) ) { int out = mlt_producer_get_out( producer ); - int frames = fps - MLT_POSITION_MOD(out - position, fps); + int frames = fps - MLT_POSITION_MOD( (out - position), fps); clock_angle = lrint( (frames + 1) * 360 / fps ); } else -- 2.39.2