X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.c;h=430aab302ffb8bb05ffcf9690fa86d5323bdd346;hb=a2b4b63a98cff9bbf979f446d0351d8978365518;hp=63a443fffa99a0fcb4f0a7f3828ad9e29ad299a3;hpb=2a800ec4c840132c7a629b764b673dce09771637;p=melted diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index 63a443f..430aab3 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -90,6 +90,16 @@ int mlt_producer_init( mlt_producer this, void *child ) return error; } +/** Create a new producer. +*/ + +mlt_producer mlt_producer_new( ) +{ + mlt_producer this = malloc( sizeof( struct mlt_producer_s ) ); + mlt_producer_init( this, NULL ); + return this; +} + /** Get the parent service object. */