projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Possible fixes to xlib errors
[melted]
/
src
/
framework
/
mlt_consumer.c
diff --git
a/src/framework/mlt_consumer.c
b/src/framework/mlt_consumer.c
index
e353f63
..
2020096
100644
(file)
--- a/
src/framework/mlt_consumer.c
+++ b/
src/framework/mlt_consumer.c
@@
-222,7
+222,7
@@
int mlt_consumer_put_frame( mlt_consumer this, mlt_frame frame )
tm.tv_nsec = now.tv_usec * 1000;
pthread_cond_timedwait( &this->put_cond, &this->put_mutex, &tm );
}
- if ( this->put == NULL )
+ if ( !mlt_consumer_is_stopped( this ) && this->put == NULL )
this->put = frame;
else
mlt_frame_close( frame );