<div dir="ltr">Yap. Thanx!<div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/27 Dan Dennedy <span dir="ltr"><<a href="mailto:ddennedy@gmail.com" target="_blank">ddennedy@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sat, Apr 27, 2013 at 6:42 AM, Ed Rogalsky <<a href="mailto:ed.rogalsky@gmail.com">ed.rogalsky@gmail.com</a>> wrote:<br>
> Oh sorry,<br>
><br>
> the dead lock I got from my jack setup. Now it works but I get a crash if I<br>
> play in the clip-monitor and I switch to the project monitor.<br>
><br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> 0x00007ffff4931339 in mlt_properties_dec_ref (self=0xf0bf4ad45255d245) at<br>
> mlt_properties.c:386<br>
> 386 mlt_properties.c: Datei oder Verzeichnis nicht gefunden.<br>
> bt<br>
> #0 0x00007ffff4931339 in mlt_properties_dec_ref (self=0xf0bf4ad45255d245)<br>
> at mlt_properties.c:386<br>
> #1 0x00007ffff492c6da in mlt_frame_close (self=0xf0bf4ad45255d245) at<br>
> mlt_frame.c:914<br>
> #2 0x00007ffff4940d3e in mlt_consumer_purge (self=0x280b0d0) at<br>
> mlt_consumer.c:1230<br>
<br>
<br>
</div>I believe this fixes it. I am about to commit it.<br>
<br>
diff --git a/src/framework/mlt_consumer.c b/src/framework/mlt_consumer.c<br>
index 866ebf2..5cd7bc6 100644<br>
--- a/src/framework/mlt_consumer.c<br>
+++ b/src/framework/mlt_consumer.c<br>
@@ -1226,7 +1226,7 @@ void mlt_consumer_purge( mlt_consumer self )<br>
if ( self->purge )<br>
self->purge( self );<br>
<br>
- while ( mlt_deque_count( self->queue ) )<br>
+ while ( self->ahead && mlt_deque_count( self->queue ) )<br>
mlt_frame_close( mlt_deque_pop_back( self->queue ) );<br>
if ( self->ahead && self->real_time )<br>
{<br>
<br>
<br>
+-DRD-+<br>
</blockquote></div><br></div></div>