sys/xvimage/xvimagesink.c: Fix typo that causes the overlay keying color to bright green on a 16-bit display. Dark g...

Original commit message from CVS:
* sys/xvimage/xvimagesink.c:
Fix typo that causes the overlay keying color to bright green
on a 16-bit display.  Dark grey good.  Bright green bad.
This commit is contained in:
David Schleef 2008-04-22 06:13:43 +00:00
parent c9269a777f
commit ac9e02c1d9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-04-21 David Schleef <ds@schleef.org>
* sys/xvimage/xvimagesink.c:
Fix typo that causes the overlay keying color to bright green
on a 16-bit display. Dark grey good. Bright green bad.
2008-04-21 Stefan Kost <ensonic@users.sf.net> 2008-04-21 Stefan Kost <ensonic@users.sf.net>
* ext/gnomevfs/gstgnomevfsuri.c: * ext/gnomevfs/gstgnomevfsuri.c:

View file

@ -1382,7 +1382,7 @@ gst_xvimagesink_get_xv_support (GstXvImageSink * xvimagesink,
* they're the only types of devices we've encountered. If we don't * they're the only types of devices we've encountered. If we don't
* recognise it, leave it alone */ * recognise it, leave it alone */
if (bits == 16) if (bits == 16)
ckey = (1 << 10) | (2 << 5) | 3; ckey = (1 << 11) | (2 << 5) | 3;
else if (bits == 24 || bits == 32) else if (bits == 24 || bits == 32)
ckey = (1 << 16) | (2 << 8) | 3; ckey = (1 << 16) | (2 << 8) | 3;
else else