[MPlayer-dev-eng] [PATCH] set absolute path to fbset in TOOLS/mpconsole
D Richard Felker III
dalias at aerifal.cx
Wed Oct 9 04:03:11 CEST 2002
On Wed, Oct 09, 2002 at 01:43:03AM +0200, Diego Biurrun wrote:
> Hi!
>
> Under Debian fbset is under /usr/sbin/fbset and therefore not in the
> path of a normal user. Therefore TOOLS/mpconsole fails to run for me as
> normal user. I suspect that other distros have fbset under /usr/sbin/
> also, but I cannot check that, I only have Debian. If you can confirm
> this for other distros, I will apply this trivial patch.
Putting fbset here is nonsense, and hardcoding a path is not a good
idea anyway. Fortunately, that code is mostly obsolete, since mplayer
now automagically grabs the dimensions for /dev/fb0 or $FRAMEBUFFER
(if possible) when using -vo fbdev or mga. I dunno about vesa/vidix
stuff since I've never used it.
Anyway, if you still want to 'fix' it, try something like:
res=`PATH="$PATH:/usr/sbin" fbset | grep geometry | sed 's/^ *//'`
Rich
More information about the MPlayer-dev-eng
mailing list