mlt_properties_set( result, "identifier", id );
mlt_properties_set( result, "title", desc->name );
+ mlt_properties_set( result, "creator", desc->maker ? desc->maker : "unknown" );
+ mlt_properties_set( result, "description", "LADSPA plugin" );
mlt_properties_set_data( result, "parameters", params, 0, (mlt_destructor) mlt_properties_close, NULL );
for ( i = 0; i < desc->control_port_count; i++ )
{
pd->object_file = NULL;
pd->id = 0;
pd->name = NULL;
+ pd->maker = NULL;
pd->properties = 0;
pd->channels = 0;
pd->port_count = 0;
{
plugin_desc_set_object_file (pd, NULL);
plugin_desc_set_name (pd, NULL);
+ plugin_desc_set_maker (pd, NULL);
plugin_desc_free_ports (pd);
}
plugin_desc_set_index (pd, index);
plugin_desc_set_id (pd, descriptor->UniqueID);
plugin_desc_set_name (pd, descriptor->Name);
+ plugin_desc_set_maker (pd, descriptor->Maker);
plugin_desc_set_properties (pd, descriptor->Properties);
plugin_desc_set_ports (pd,
descriptor->PortCount,
set_string_property (pd->name, name);
}
+void
+plugin_desc_set_maker (plugin_desc_t * pd, const char * maker)
+{
+ set_string_property (pd->maker, maker);
+}
+
void
plugin_desc_set_properties (plugin_desc_t * pd, LADSPA_Properties properties)
{
unsigned long index;
unsigned long id;
char * name;
+ char * maker;
LADSPA_Properties properties;
gboolean rt;
void plugin_desc_set_index (plugin_desc_t * pd, unsigned long index);
void plugin_desc_set_id (plugin_desc_t * pd, unsigned long id);
void plugin_desc_set_name (plugin_desc_t * pd, const char * name);
+void plugin_desc_set_maker (plugin_desc_t * pd, const char * maker);
void plugin_desc_set_properties (plugin_desc_t * pd, LADSPA_Properties properties);
struct _plugin * plugin_desc_instantiate (plugin_desc_t * pd);