git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@561
d19143bc-622f-0410-bfdd-
b5b2a6649095
// Just in case...
pthread_mutex_lock( &this->put_mutex );
+ if ( this->put != NULL )
+ {
+ mlt_frame_close( this->put );
+ this->put = NULL;
+ }
pthread_cond_broadcast( &this->put_cond );
pthread_mutex_unlock( &this->put_mutex );
if ( mlt_properties_get( properties, "post" ) )
system( mlt_properties_get( properties, "post" ) );
- if ( this->put != NULL )
- {
- mlt_frame_close( this->put );
- this->put = NULL;
- }
-
return 0;
}