projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Frame rendering event
[melted]
/
src
/
framework
/
mlt_producer.c
diff --git
a/src/framework/mlt_producer.c
b/src/framework/mlt_producer.c
index
b8bd2c6
..
d6c27e3
100644
(file)
--- a/
src/framework/mlt_producer.c
+++ b/
src/framework/mlt_producer.c
@@
-244,7
+244,7
@@
int mlt_producer_seek( mlt_producer this, mlt_position position )
mlt_producer_seek( mlt_producer_cut_parent( this ), position + mlt_producer_get_in( this ) );
// Check bounds
- if ( position < 0 )
+ if ( position < 0 || mlt_producer_get_playtime( this ) == 0 )
{
position = 0;
}