Recent xawtv, overlay broken with V4L2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Between xawtv 3.75 and 3.82 v4l-conf was changed, and now it sets format
to BGR3 (was BGR4), when using V4L2 (-noxv). Symptom: mostly b/w screen
and missing 1/4 of width while in overlay. Grabdisplay ok.

Seems like a typo while checking in api changes in v4l-conf:

--- v4l-conf.c.orig	Mon Dec  2 17:34:16 2002
+++ v4l-conf.c	Mon Dec 30 13:03:22 2002
@@ -339,7 +339,7 @@
     /* set values */
     fb.fmt.width  = d->width;
     fb.fmt.height = d->height;
-    switch (d->depth) {
+    switch (d->bpp) {
     case  8: fb.fmt.pixelformat = V4L2_PIX_FMT_HI240;   break;
 #if BYTE_ORDER == BIG_ENDIAN
     case 15: fb.fmt.pixelformat = V4L2_PIX_FMT_RGB555X; break;

-- 
  Kyösti Mälkki
  kmalkki@xxxxxxxxx





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux