mlt_properties_set_int( nested_props, "put_mode", 1 );
mlt_properties_pass_list( nested_props, properties, "terminate_on_pause" );
mlt_properties_set( props, "consumer", NULL );
- mlt_properties_set( props, "mlt_profile", NULL );
+ // set mlt_profile before other properties to facilitate presets
+ mlt_properties_pass_list( nested_props, props, "mlt_profile" );
mlt_properties_inherit( nested_props, props );
attach_normalisers( profile, MLT_CONSUMER_SERVICE(nested) );
if ( properties && mlt_properties_get_data( properties, "0", NULL ) )
{
+ // YAML file supplied
mlt_properties p = NULL;
char key[20];
int index = 0;
}
else
{
+ // properties file supplied or properties on this consumer
const char *s = NULL;
char key[20];
int index = 0;