[Mplayer-cvslog] CVS: main/TVout matroxtv,1.5,1.6
Winner of tha face compo
gabucino at mplayerhq.hu
Sun Feb 23 17:23:55 CET 2003
Update of /cvsroot/mplayer/main/TVout
In directory mail:/var/tmp.root/cvs-serv6083
Modified Files:
matroxtv
Log Message:
added "Dualhead with Monitors", and "Cloning with Monitors" modes
Index: matroxtv
===================================================================
RCS file: /cvsroot/mplayer/main/TVout/matroxtv,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- matroxtv 28 Sep 2002 16:10:09 -0000 1.5
+++ matroxtv 23 Feb 2003 16:23:37 -0000 1.6
@@ -50,6 +50,15 @@
matroxset 1 # PAL
# matroxset 2 # NTSC
}
+
+function SetMonitorMode {
+ matroxset 128
+}
+
+function nomapping {
+ con2fb /dev/fb0 /dev/tty1
+ con2fb /dev/fb0 /dev/tty2
+}
echo
echo "Please read MPlayer's TV-out documentation, and install 'matroxset' and 'fbset'."
@@ -65,7 +74,16 @@
echo " [ 1 ] Monitor only"
echo " /---> Monitor"
echo " [ 2 ] DualHead - CRTC1"
+echo " [ 2 ] Cloning - CRTC1"
echo " \\---> TV"
+echo
+echo " /---> Monitor"
+echo " [ 3 ] Cloning - CRTC1"
+echo " \\---> Monitor"
+echo
+echo " CRTC1 ---> Monitor"
+echo " [ 4 ] DualHead -"
+echo " CRTC2 ---> Monitor"
echo
@@ -86,6 +104,7 @@
;;
1)
+ nomapping
matroxset -f /dev/fb1 -m 0
matroxset -f /dev/fb0 -m 1
defaultmode
@@ -93,10 +112,29 @@
;;
2)
+ nomapping
matroxset -f /dev/fb1 -m 0
matroxset -f /dev/fb0 -m 3
SetTVstandard
TVdefaultmode
+ ;;
+
+ 3)
+ nomapping
+ matroxset -f /dev/fb1 -m 0
+ matroxset -f /dev/fb0 -m 3
+ SetMonitorMode
+ defaultmode
+ ;;
+
+ 4)
+ nomapping
+ matroxset -f /dev/fb0 -m 2
+ matroxset -f /dev/fb1 -m 1
+ SetMonitorMode
+ defaultmode
+ con2fb /dev/fb1 /dev/tty1
+ con2fb /dev/fb1 /dev/tty2
;;
a)
More information about the MPlayer-cvslog
mailing list