projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Sundry minor fixes and optimisations
[melted]
/
src
/
modules
/
core
/
filter_data_show.c
diff --git
a/src/modules/core/filter_data_show.c
b/src/modules/core/filter_data_show.c
index
4387ae2
..
b080446
100644
(file)
--- a/
src/modules/core/filter_data_show.c
+++ b/
src/modules/core/filter_data_show.c
@@
-139,7
+139,7
@@
static int process_feed( mlt_properties feed, mlt_filter filter, mlt_frame frame
{
if ( !strncmp( name + len, "length[", 7 ) )
{
- mlt_properties_set_position( properties, key, length / period );
+ mlt_properties_set_position( properties, key, ( length - period ) / period );
}
else
{