X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fkdenlive%2Fproducer_framebuffer.c;h=97edd6dca922e63e8599f32139c0f83ffc937ea3;hb=70933f360aa7d16e5140267ce2f716de924464c7;hp=d028eaac916b00a6971a9500d1da1836ba327bcd;hpb=e8cb811d00abe2b31e1e6591da9e3c13799228eb;p=melted diff --git a/src/modules/kdenlive/producer_framebuffer.c b/src/modules/kdenlive/producer_framebuffer.c index d028eaa..97edd6d 100644 --- a/src/modules/kdenlive/producer_framebuffer.c +++ b/src/modules/kdenlive/producer_framebuffer.c @@ -194,7 +194,7 @@ static int producer_get_frame( mlt_producer this, mlt_frame_ptr frame, int index mlt_producer producer_framebuffer_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) { - + if ( !arg ) return NULL; mlt_producer this = NULL; this = calloc( 1, sizeof( struct mlt_producer_s ) ); mlt_producer_init( this, NULL ); @@ -236,7 +236,6 @@ mlt_producer producer_framebuffer_init( mlt_profile profile, mlt_service_type ty if (speed == 0.0) speed = 1.0; - if ( this != NULL && real_producer != NULL) { // Get the properties of this producer