diff --git a/src/video.rs b/src/video.rs index 31ce22f..0a7a66d 100644 --- a/src/video.rs +++ b/src/video.rs @@ -215,7 +215,6 @@ impl Video { let height = s.get::("height").map_err(|_| Error::Caps)?; // resolution should be mod4 let width = ((width + 4 - 1) / 4) * 4; - let height = ((height + 4 - 1) / 4) * 4; let framerate = s .get::("framerate") .map_err(|_| Error::Caps)?;