I'm too lazy to comment this
authorBenjamin Otte <otte@gnome.org>
Sun, 11 Jan 2004 19:34:15 +0000 (19:34 +0000)
committerBenjamin Otte <otte@gnome.org>
Sun, 11 Jan 2004 19:34:15 +0000 (19:34 +0000)
Original commit message from CVS:
*** empty log message ***

ChangeLog
gst-libs/gst/video/video.h

index b942f84..a964991 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
 
+       * gst-libs/gst/video/video.h:
+         Fix 32bit caps. Issue remaining: The macro names are chosen poorly.
+         They should probably be like
+         GST_VIDEO_PAD_TEMPLATE_CAPS_{RGB,BGR,RGBx,BGRx}.
+
+2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
+
        * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
        (qtdemux_parse_trak):
          fix audio chunk size/timestamp calculation
index 7f5a1fd..669a6a5 100644 (file)
 
 /* properties for pad templates */
 #define GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32 \
-           "video/x-raw-rgb, " \
-            "bpp = (int) { 24, 32 }, " \
-            "depth = (int) { 24, 32 }, " \
-            "endianness = (int) BIG_ENDIAN, " \
-            "red_mask = (int) { " R_MASK_32 ", " R_MASK_24 " }, " \
-            "green_mask = (int) { " G_MASK_32 ", " G_MASK_24 " }, " \
-            "blue_mask = (int) { " B_MASK_32 ", " B_MASK_24 " }, " \
-            "width = " SIZE_RANGE ", " \
-            "height = " SIZE_RANGE ", " \
-            "framerate = " FPS_RANGE
+    GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32 "; " \
+    GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24
 
 #define GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32_REVERSE \
-           "video/x-raw-rgb, " \
-            "bpp = (int) { 24, 32 }, " \
-            "depth = (int) { 24, 32 }, " \
-            "endianness = (int) BIG_ENDIAN, " \
-            "red_mask = (int) { " R_MASK_32_REVERSE ", " R_MASK_24_REVERSE "}, " \
-            "green_mask = (int) { " G_MASK_32_REVERSE ", " G_MASK_24_REVERSE "}, " \
-            "blue_mask = (int) { " B_MASK_32_REVERSE ", " B_MASK_24_REVERSE "}, " \
-            "width = " SIZE_RANGE ", " \
-            "height = " SIZE_RANGE ", " \
-            "framerate = " FPS_RANGE
+    GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32_REVERSE "; " \
+    GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_REVERSE
 
 #define GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32 \
            "video/x-raw-rgb, " \
             "bpp = (int) 32, " \
-            "depth = (int) 32, " \
+            "depth = (int) 24, " \
             "endianness = (int) BIG_ENDIAN, " \
             "red_mask = (int) " R_MASK_32 ", " \
             "green_mask = (int) " G_MASK_32 ", " \
 #define GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32_REVERSE \
            "video/x-raw-rgb, " \
             "bpp = (int) 32, " \
-            "depth = (int) 32, " \
+            "depth = (int) 24, " \
             "endianness = (int) BIG_ENDIAN, " \
             "red_mask = (int) " R_MASK_32_REVERSE ", " \
             "green_mask = (int) " G_MASK_32_REVERSE ", " \