[][src]Function hl_capture::capture::parse_fps

fn parse_fps(string: &str) -> Option<Rational>

Parses the given string and returns a time base.

The string can be in one of the two formats: