diff --git a/src/FFMpeg/Format/Video/Resizable.php b/src/FFMpeg/Format/Video/Resizable.php index aabedd9..335c85f 100644 --- a/src/FFMpeg/Format/Video/Resizable.php +++ b/src/FFMpeg/Format/Video/Resizable.php @@ -34,5 +34,15 @@ interface Resizable extends VideoInterface */ public function getComputedDimensions($originalWidth, $originalHeight); + /** + * Returns the modulus used by the Resizable video. + * + * This used to calculate the target dimensions while maintaining the best + * aspect ratio. + * + * @see http://www.undeadborn.net/tools/rescalculator.php + * + * @return integer + */ public function getModulus(); }