]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_producer.c
ntsc fixes and service doco for discussion
[mlt] / src / framework / mlt_producer.c
index 7dc6c6e8c86feee2aa7064de7e21a798d66adba4..991c698767f9328c41dd7dea13226a60dbcb93e3 100644 (file)
@@ -279,6 +279,10 @@ static int producer_get_frame( mlt_service service, mlt_frame_ptr frame, int ind
                mlt_producer_prepare_next( this );
        }
 
+       // Copy the fps of the producer onto the frame
+       mlt_properties properties = mlt_frame_properties( *frame );
+       mlt_properties_set_double( properties, "fps", mlt_producer_get_fps( this ) );
+
        return 0;
 }