X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fplus%2Fproducer_count.c;h=92f5fac0b6cb65de9481e38b81cfb7d44171c3ea;hb=6134e62966cb138af862d45b0c6ca4f9f1fa2850;hp=4e89ab41e511f2326282994bfc15f130e39b1472;hpb=384ca77ef21f5458a4f5d7dc37ee6512f714c45a;p=mlt 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