#17802: mplayer 1.0rc2 vo_ontop (stay-on-top) doesn't work -----------------------------------------+---------------------------------- Reporter: shreevatsa.public@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: mplayer -----------------------------------------+---------------------------------- mplayer has a keyboard control of: {{{ T Toggle stay-on-top (also see -ontop). }}} which doesn't work: whenever T is pressed, the OSD always says "Stay on top: disabled", and at the commandline we see "Command vo_ontop: argument 1 isn't an integer." The explanation for this I found in the replies to a 2007 October thread on their mailing list, at http://lists.mplayerhq.hu/pipermail/mplayer- users/2007-October/069603.html The fix ''might be'' to apply [http://svn.mplayerhq.hu/mplayer/trunk/input/input.c?r1=24844&sortdir=down&pa... this patch] to the source (is the current release really older than October 2007?? maybe it's already applied...) Alternatively, another simpler fix that just works is to do: {{{ touch ~/.mplayer/input.conf }}} (i.e., create the file if it doesn't exist). But since it's probably not a good idea to modify every user's homedirectories, another fix is to remove the comment after the "T vo_ontop" line in $PREFIX/etc/MPlayer/input.conf (or move the comment to another line). Note that "T vo_ontop" is not the only command affected by this; e.g. hitting "r" or "t" (which are for moving subtitles) also has the same bug (i.e. there is the message at the commandline, although it doesn't seem to matter), and probably so do whatever other commands in input.conf have a comment following them. -- Ticket URL: <http://trac.macports.org/ticket/17802> MacPorts <http://www.macports.org/> Ports system for Mac OS