annotate TVout/cloning @ 9278:caea8ed36b48

The reason why mplayer crashes (in some cases) when using x11 output and -wid (>0) parameter is this: Mplayer by default creates a colormap using DirectColor visual. If the window given to mplayer uses TrueColor visual there will be an error when mplayer sets the colormap for the window. This patch modifies mplayer to use TrueColor visual if the window given to mplayer uses TrueColor. Another solution is to make sure that the window given to mplayer is created using DirectColor visual if it is supported by the display. Jouni Tulkki <jitulkki@cc.hut.fi>
author arpi
date Tue, 04 Feb 2003 18:31:44 +0000
parents 3b5f5d1c5041
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 # SETUP TVout
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 # Same picture on TV & Monitor
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 # CRTC1 -> TVout & Monitor
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 matroxset/matroxset -f /dev/fb1 -m 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 matroxset/matroxset -f /dev/fb0 -m 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 # Enable TV
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 matroxset/matroxset 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 # Keep consoles on CRTC1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 con2fb/con2fb /dev/fb0 /dev/tty1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 con2fb/con2fb /dev/fb0 /dev/tty2