/** Get the list of profiles.
*
- * The caller MUST free the returned properties object!
+ * The caller MUST close the returned properties object!
* Each entry in the list is keyed on its name, and its value is another
* properties object that contains the attributes of the profile.
* \public \memberof mlt_profile_s
{
return mlt_profile_dar( instance );
}
+
+Properties* Profile::list()
+{
+ return new Properties( mlt_profile_list() );
+}
int display_aspect_num() const;
int display_aspect_den() const;
double dar() const;
+ static Properties* list();
};
}
%newobject Repository::transitions( );
%newobject Repository::metadata( mlt_service_type, const char * );
%newobject Repository::languages( );
+%newobject Profile::list();
}
/** Classes to wrap.