[−][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:
<i32 FPS>- treated as an integer FPS value,<i32 a> <i32 b>- treated as a fractionala/bFPS value.