[MPlayer-dev-eng] [PATCH] Cycle switch screen size (x2, x3, x0.5, x1)

Ötvös Attila dc at chello.hu
Fri Dec 5 02:04:51 CET 2008


Hi All!

This patch available switch screen size 10%-1000% and cycle switching 
(default: 200%->300%->50%->100%) from keyboard.

Default key: 'Z'
Slave command: 'switch_screen_size <value> <mode>'

mode=0 or ommited: use scale list parameter (or default if not exist)
value=0 or ommited : cycle switching
value=n : select screen scale factor number in scale list (1 - always 100%)

mode=1
value=10-100 : set screen scale factor

mode=2: always use default scale list
value=0 or ommited : cycle switching
value=n : select screen scale factor number in scale list (1 - always 100%)

User defined screen scale list parameters:

-scalelist <scale factor>[,<scale factor>[,...]]]

Example:
mplayer -scalelist 150,200,250,300,25,50,75 [more options]

switch_screen_size 4 0 -> screen is 250% (from scalelist #4)
switch_screen_size 400 1 -> screen is 400%
switch_screen_size 4 2 -> screen is 50% (from default #4)
switch_screen_size 0 0 -> cycle switch from scalelist
switch_screen_size 0 2 -> cycle switch from default

Best regards.

Attila
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disp_scale.patch
Type: text/x-diff
Size: 17018 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20081205/3aad7d20/attachment.patch>


More information about the MPlayer-dev-eng mailing list