git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1275
d19143bc-622f-0410-bfdd-
b5b2a6649095
// Special case circle resource
if ( strcmp( resource, "circle" ) == 0 )
- {
- // Special case to ensure that fezzik produces a pixbuf with a NULL constructor
- resource = "pixbuf";
-
- // Specify the svg circle
- mlt_properties_set( properties, "producer.resource", "<svg width='100' height='100'><circle cx='50' cy='50' r='50' fill='black'/></svg>" );
- }
+ resource = "pixbuf:<svg width='100' height='100'><circle cx='50' cy='50' r='50' fill='black'/></svg>";
// Create the producer
mlt_profile profile = mlt_service_profile( MLT_TRANSITION_SERVICE( this ) );