[MPlayer-dev-eng] [PATCH] Add toggle_ratio command

Mike Olson mish.olson at gmail.com
Sat Jan 10 23:00:21 CET 2009


This patch adds a command called toggle_ratio.  It is very similar to the
existing switch_ratio command.  However, instead of taking an aspect ratio
as an input, each time you send the command it changes the aspect ratio to
one of a list of possible ratios: 1.333, 1.777, 1.85, 2.35, and default
(being the mplayer default).  This is to make the behavior of the mplayer
aspect ratio functionality more like that of newer TVs, which have a
"Picture" button that toggles through aspect ratios.  Also, this way you can
define one button that access all four aspect ratios, rather than needing to
map all four to different buttons.  This will help people who have a remote
control hooked up to their machine, so they can use a single "Picture" or
"Aspect" button rather than taking up four buttons on their remote.

Thanks,
Mike Olson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_toggle_ratio.diff
Type: text/x-patch
Size: 2431 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090110/339ef145/attachment.bin>


More information about the MPlayer-dev-eng mailing list