summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
m---------common0
-rw-r--r--sys/v4l/gstv4lsrc.c4
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 988f9a58..68bebe93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-08-21 Wim Taymans <wim.taymans@gmail.com>
+ * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps):
+ Fix RGB24 masks as spotted by _ke (Daniel G. Siegel) on IRC.
+
+2007-08-21 Wim Taymans <wim.taymans@gmail.com>
+
* ext/vorbis/vorbisdec.c: (vorbis_dec_push_forward):
When calculating the first timestamp of the buffers, don't go below 0
and clip the samples because the offset was on the eos page.
diff --git a/common b/common
-Subproject 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177c
+Subproject cd25ca736bc2446800de2180ad71fc1da858d32
diff --git a/sys/v4l/gstv4lsrc.c b/sys/v4l/gstv4lsrc.c
index 1f59b549..6e410e9f 100644
--- a/sys/v4l/gstv4lsrc.c
+++ b/sys/v4l/gstv4lsrc.c
@@ -325,8 +325,8 @@ gst_v4lsrc_palette_to_caps (int palette)
"bpp = (int) 24, "
"depth = (int) 24, "
"endianness = (int) BIG_ENDIAN, "
- "red_mask = 0x0000FF, "
- "green_mask = 0x00FF00, " "blue_mask = 0xFF0000");
+ "red_mask = 0xFF0000, "
+ "green_mask = 0x00FF00, " "blue_mask = 0x0000FF");
break;
case VIDEO_PALETTE_RGB32:
caps = gst_caps_from_string ("video/x-raw-rgb, "