]> git.sesse.net Git - mlt/blobdiff - mlt/src/framework/mlt_producer.c
miracle part 1
[mlt] / mlt / src / framework / mlt_producer.c
index 87c2f0899faf3e4bc557fab4552aa2c4ae69267c..751e19a9e3066309fd03efd267743c15325a6e97 100644 (file)
@@ -265,6 +265,10 @@ static int producer_get_frame( mlt_service service, mlt_frame_ptr frame, int ind
        {
                // Get the frame from the implementation
                result = this->get_frame( this, frame, index );
+
+               mlt_properties frame_properties = mlt_frame_properties( *frame );
+               double speed = mlt_producer_get_speed( this );
+               mlt_properties_set_double( frame_properties, "speed", speed );
        }
        else
        {