ntsc fixes and service doco for discussion
[melted] / mlt / src / framework / mlt_producer.c
index 7dc6c6e..991c698 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;
 }