diff --git a/ios/Extensions/AVFrameRateRange+includes.swift b/ios/Extensions/AVFrameRateRange+includes.swift index 00a1f6e..f68ff45 100644 --- a/ios/Extensions/AVFrameRateRange+includes.swift +++ b/ios/Extensions/AVFrameRateRange+includes.swift @@ -9,6 +9,9 @@ import AVFoundation extension AVFrameRateRange { + /** + * Returns true if this [AVFrameRateRange] contains the given [fps] + */ func includes(fps: Double) -> Bool { return fps >= minFrameRate && fps <= maxFrameRate }