From 87e11509cf1a3112948d28e52a88c63fa1582fd3 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Thu, 3 Jun 2010 00:25:59 -0700 Subject: [PATCH] Fix superficial cpu usage with melt progress option (used by Kdenlive). --- src/melt/melt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/melt/melt.c b/src/melt/melt.c index c26d7b76..3d507d8b 100644 --- a/src/melt/melt.c +++ b/src/melt/melt.c @@ -260,7 +260,7 @@ static void transport( mlt_producer producer, mlt_consumer consumer ) } } - if ( silent ) + if ( silent || progress ) nanosleep( &tm, NULL ); } -- 2.39.2