Mercurial > mplayer.hg
view TOOLS/mpconsole @ 19737:9385553b0c7c
r19736: Remove references to obsolete font generators and 404 links.
r19740: Remove tvout-voodoo section that only consist of broken link.
r19741: Remove reference to gcc-296 section, it's very outdated now.
author | voroshil |
---|---|
date | Fri, 08 Sep 2006 06:39:19 +0000 |
parents | a818bbab1525 |
children |
line wrap: on
line source
#!/bin/sh # Script to run mplayer on the console (fbdev/mga_vid/etc) without # the console text and/or flashing cursor getting in the way. # Written by Rich Felker. trap "tput cnorm ; exit 1" SIGQUIT SIGINT EXIT res=`PATH="$PATH:/usr/sbin" fbset | grep geometry | sed 's/^ *//'` width=`echo "$res" | cut -d' ' -f2` height=`echo "$res" | cut -d' ' -f3` tput civis clear mplayer -vo mga -screenw "$width" -screenh "$height" "$@" >/dev/null 2>&1