[MPlayer-dev-eng] [PATCH] panscanrange option

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Sep 26 13:32:48 CEST 2005


Hi,
On Mon, Sep 26, 2005 at 06:40:29AM -0400, The Wanderer wrote:
> And I presume, from the fact that you didn't address it, that my
> assumption that specifying -panscanrange but not -panscan does nothing
> is correct.

Yes and no? Because as said below, the 'w' and 'e' keyscan can change
the -panscan value while playing.
Currently -panscan can only be used to remove (part or all of) the borders.
This patch converts the panscan functionality to a more general 'zoom
in' function.

> ...first you say that I did understand correctly, then you say that what
> I said is not necessarily true. I'm confused.

I thought you meant the values -3 and 4 just as examples. I meant you
are correct that if there are borders, for every negative value you will
find a positive one that has the same effect.

> You say that the border size (which I infer to mean, the width of the
> region cropped off at the sides of the image) will always be 0 if the

The border size is the size of the screen minus the size of the
aspect-fullscreen scaled image.

> Does the fact that you say specifically "No matter which positive value
> you specify" mean that the description which follows that applies only
> when using positive values, not when using negative values? I don't
> quite see how they could behave differently, based on the very limited
> understanding I have of the functionality we're actually talking about,
> but you obviously know the code much better than I do.

Ok, another attempt: positive values "amplify" the effect of -panscan,
but when there are no borders it has no effect, "amplifying" that still
gives no effect *g*.
Values < 0 allow allow you to set a maximum zoom factor, meaning that
with -panscan you can zoom the image between original size and the
maximum zoom factor (and more useful than with -panscan you can do this
with the 'w' and 'e' keys, similar to xine's 'z' key).

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list