Function gstreamer_video::calculate_display_ratio [−][src]
pub fn calculate_display_ratio(
video_width: u32,
video_height: u32,
video_par: Fraction,
display_par: Fraction
) -> Option<Fraction>
pub fn calculate_display_ratio(
video_width: u32,
video_height: u32,
video_par: Fraction,
display_par: Fraction
) -> Option<Fraction>