X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fqimage%2Fproducer_qimage.c;h=70c8d18e3cbe6fd7af6eae3081e7d93bc2c35944;hb=945cf9233a46d7c47d5030c0efad7561e7245954;hp=6008b7e6ef53fb663bd3194d053516d0ace84d2f;hpb=9235bab10cf568be5d7563604b729a7e4ff52d85;p=melted diff --git a/src/modules/qimage/producer_qimage.c b/src/modules/qimage/producer_qimage.c index 6008b7e..70c8d18 100644 --- a/src/modules/qimage/producer_qimage.c +++ b/src/modules/qimage/producer_qimage.c @@ -46,7 +46,9 @@ mlt_producer producer_qimage_init( mlt_profile profile, mlt_service_type type, c mlt_properties properties = MLT_PRODUCER_PROPERTIES( &this->parent ); // Callback registration +#ifdef USE_KDE init_qimage(); +#endif producer->get_frame = producer_get_frame; producer->close = ( mlt_destructor )producer_close; @@ -210,7 +212,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i if ( stat( full, &buf ) == 0 ) { sprintf( key, "%d", keyvalue ++ ); - mlt_properties_set( this->filenames, "0", full ); + mlt_properties_set( this->filenames, key, full ); gap = 0; } else