Add notes about resize modes

This commit is contained in:
Romain Neutron 2013-07-03 18:46:22 +02:00
commit 57d51c1568

View file

@ -17,9 +17,13 @@ use FFMpeg\Format\VideoInterface;
class ResizeFilter implements VideoFilterInterface
{
/** fits to the dimensions, might introduce anamorphosis */
const RESIZEMODE_FIT = 'fit';
/** resizes the video inside the given dimension, no anamorphosis */
const RESIZEMODE_INSET = 'inset';
/** resizes the video to fit the dimension width, no anamorphosis */
const RESIZEMODE_SCALE_WIDTH = 'width';
/** resizes the video to fit the dimension height, no anamorphosis */
const RESIZEMODE_SCALE_HEIGHT = 'height';
/** @var Dimension */