view TVout/matroxset/swapped @ 8614:49e36bf2f342

The patch adds support for a per-file config, which is loaded before playing the file. The config file is looked for in the same directory as the input file, and in the ~/.mplayer dir. Magne Oestlyngen <ml@skybert.org>
author arpi
date Sat, 28 Dec 2002 14:29:41 +0000
parents 3b5f5d1c5041
children
line wrap: on
line source

#! /bin/sh

if [ -c /dev/fb0 ]; then
  HEAD0=/dev/fb0
  HEAD1=/dev/fb1
else
  HEAD0=/dev/fb/0
  HEAD1=/dev/fb/1
fi
matroxset -f ${HEAD1} -m 0
matroxset -f ${HEAD0} -m 2
matroxset -f ${HEAD1} -m 1