projects
/
melted
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e23e931
)
Fix sending fps during unit status command.
author
Dan Dennedy
<dan@dennedy.org>
Sun, 12 Jun 2011 02:37:17 +0000 (19:37 -0700)
committer
Dan Dennedy
<dan@dennedy.org>
Sun, 12 Jun 2011 02:37:17 +0000 (19:37 -0700)
Provided-by: Maksym Veremeyenko
src/melted/melted_unit.c
patch
|
blob
|
history
diff --git
a/src/melted/melted_unit.c
b/src/melted/melted_unit.c
index
8c7ad5d
..
fd52183
100644
(file)
--- 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 );