[vlc-devel] [PATCH 3/4] vout: use variable "zoom" instead of "scale"

Rémi Denis-Courmont remi at remlab.net
Tue Feb 11 13:59:27 CET 2014


On Tue, 11 Feb 2014 10:34:10 +0100, Felix Abecassis
<felix.abecassis at gmail.com> wrote:
> Looking at vout_intf.c, the "zoom" callback simply forward the new value
to
> "scale".
> With the latest git version --zoom is working and --scale does nothing.

Scale should only have an effect if autoscale is disabled, so that is not
necessarily wrong.

> With 2.0.8 release, --zoom does nothing and --scale is working.

That was wrong.

> So I'm also confused by what the difference *should* be.

I think zoom affects the (requested) video window size, while scale
affects the video area size within the video window. Zoom is intended for
use with autoscale, which is enabled by default. Using both zoom and scale
simultaneous makes little practical sense, so it is theoretically possible
to define it (zoom affects the window, scale affects the video area).

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list