mlt_properties properties = mlt_producer_properties( producer );
info->clip = index;
info->producer = producer;
+ info->cut = this->list[ index ]->producer;
info->start = mlt_playlist_clip( this, mlt_whence_relative_start, index );
info->resource = mlt_properties_get( properties, "resource" );
info->frame_in = this->list[ index ]->frame_in;
info->event = this->list[ index ]->event;
}
- // Determine the consuming filter service
- if ( info->producer != NULL )
- {
- info->service = mlt_producer_service( info->producer );
- while ( mlt_service_consumer( info->service ) != NULL )
- info->service = mlt_service_consumer( info->service );
- }
-
return error;
}
xmlNewProp( entry, "in", temp );
sprintf( temp, "%d", info.frame_out );
xmlNewProp( entry, "out", temp );
- if ( mlt_producer_is_cut( info.producer ) )
- serialise_service_filters( context, mlt_producer_service( info.producer ), entry );
+ if ( mlt_producer_is_cut( info.cut ) )
+ serialise_service_filters( context, mlt_producer_service( info.cut ), entry );
}
}
}