X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fkino%2Fproducer_kino.c;h=7f94a9e78f149e350c2d0bda90128a6a8ca02930;hb=4bb099f9f13875393e0392a49be0e49de18ef5cc;hp=3d45f40c807fd10e4ba459432f8bcda3f46aacda;hpb=fdbf5f7e644766d61dab2a6381a4df0894b2cbf0;p=melted diff --git a/src/modules/kino/producer_kino.c b/src/modules/kino/producer_kino.c index 3d45f40..7f94a9e 100644 --- a/src/modules/kino/producer_kino.c +++ b/src/modules/kino/producer_kino.c @@ -19,7 +19,7 @@ */ #include -#include "producer_kino.h" +#include #include #include #include @@ -41,7 +41,7 @@ struct producer_kino_s static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int index ); static void producer_close( mlt_producer parent ); -mlt_producer producer_kino_init( char *filename ) +mlt_producer producer_kino_init( mlt_profile profile, mlt_service_type type, const char *id, char *filename ) { kino_wrapper wrapper = kino_wrapper_init( ); @@ -91,7 +91,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i uint64_t position = mlt_producer_frame( producer ); // Create an empty frame - *frame = mlt_frame_init( ); + *frame = mlt_frame_init( MLT_PRODUCER_SERVICE( producer ) ); // Seek and fetch if ( kino_wrapper_get_frame( this->wrapper, data, position ) )