Mercurial > mplayer.hg
view TOOLS/mpconsole @ 14083:6797ec6f8047
Sync with
1.815: use a configurable-size ringbuffer instead of a pipe for buffering
key events.
1.814: sstep is usually inaccurate.
1.813: -identify now prints subtitle/audio track information.
1.812: -double is now default, thus -nodouble needs to be documented instead.
Slightly reworded the description of -nodouble.
author | gpoirier |
---|---|
date | Wed, 01 Dec 2004 21:54:50 +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