sys/v4l/gstv4lsrc.c: Fix RGB24 masks as spotted by _ke (Daniel G. Siegel) on IRC.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 21 Aug 2007 15:43:24 +0000 (15:43 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 21 Aug 2007 15:43:24 +0000 (15:43 +0000)
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps):
Fix RGB24 masks as spotted by _ke (Daniel G. Siegel) on IRC.

ChangeLog
common
sys/v4l/gstv4lsrc.c

index 988f9a5..68bebe9 100644 (file)
--- 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
index 9c7f1a6..cd25ca7 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177cf
+Subproject commit cd25ca736bc2446800de2180ad71fc1da858d324
index 1f59b54..6e410e9 100644 (file)
@@ -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, "