From: Dan Dennedy Date: Sun, 12 Jun 2011 02:37:17 +0000 (-0700) Subject: Fix sending fps during unit status command. X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=f9b1c1ed4abd53e375c84736f24a5bb54c764fae;p=melted Fix sending fps during unit status command. Provided-by: Maksym Veremeyenko --- diff --git a/src/melted/melted_unit.c b/src/melted/melted_unit.c index 8c7ad5d..fd52183 100644 --- a/src/melted/melted_unit.c +++ b/src/melted/melted_unit.c @@ -553,7 +553,7 @@ int melted_unit_get_status( melted_unit unit, mvcp_status status ) title = strip_root( unit, info.resource ); strncpy( status->clip, title, sizeof( status->clip ) ); status->speed = (int)( mlt_producer_get_speed( producer ) * 1000.0 ); - status->fps = mlt_producer_get_fps( producer ); + status->fps = info.fps; status->in = info.frame_in; status->out = info.frame_out; status->position = mlt_producer_frame( clip );