view TOOLS/TVout/matroxset/swapped @ 18713:c6c78e77c857

workaround: at every read update demux->movi_end with stream->end_pos; needed to show the progress bar when playing dvdnav streams
author nicodvb
date Wed, 14 Jun 2006 22:12:06 +0000
parents b205f8ca892a
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