6 copyright: Ushodaya Enterprises Limited
7 creator: Dan Dennedy <dan@dennedy.org>
14 Scale the producer video frame size to match the consumer. This filter is
15 designed for use as a normaliser for the loader producer.
17 If a property "consumer_aspect_ratio" exists on the frame, then rescaler
18 normalises the producer's aspect ratio and maximises the size of the frame,
19 but may not produce the consumer's requested dimension. Therefore, this
20 option works best in conjunction with the resize filter. This behavior can be
21 disabled by another service by either removing the property, setting it to
22 zero, or setting frame property "distort" to 1.
25 It only implements a nearest neighbour scaling - it is used as the base
26 class for the gtkrescale and mcrescale filters.