mlt_producer track_a = NULL;
mlt_producer track_b = NULL;
mlt_tractor tractor = mlt_tractor_new( );
+
+ mlt_service_set_profile( MLT_TRACTOR_SERVICE( tractor ),
+ mlt_service_profile( MLT_PLAYLIST_SERVICE( self ) ) );
+ mlt_properties_set_lcnumeric( MLT_TRACTOR_PROPERTIES( tractor ),
+ mlt_properties_get_lcnumeric( MLT_PLAYLIST_PROPERTIES( self ) ) );
mlt_events_block( MLT_PLAYLIST_PROPERTIES( self ), self );
// Check length is valid for both clips and resize if necessary.
* \public \memberof mlt_playlist_s
* \param self a playlist
* \param clip the index of the playlist entry
- * \return true if there was an error
+ * \return true if \p clip is a "blank" producer
*/
int mlt_playlist_is_blank( mlt_playlist self, int clip )
* \public \memberof mlt_playlist_s
* \param self a playlist
* \param clip the index of the new blank section
- * \param length the ending time of the new blank section (duration - 1)
+ * \param out the ending time of the new blank section (duration - 1)
*/
-void mlt_playlist_insert_blank( mlt_playlist self, int clip, int length )
+void mlt_playlist_insert_blank( mlt_playlist self, int clip, int out )
{
- if ( self != NULL && length >= 0 )
+ if ( self != NULL && out >= 0 )
{
mlt_properties properties = MLT_PLAYLIST_PROPERTIES( self );
mlt_events_block( properties, properties );
- mlt_playlist_blank( self, length );
+ mlt_playlist_blank( self, out );
mlt_playlist_move( self, self->count - 1, clip );
mlt_events_unblock( properties, properties );
mlt_playlist_virtual_refresh( self );