I'm too lazy to comment this

Original commit message from CVS:
*** empty log message ***
This commit is contained in:
Benjamin Otte 2004-01-11 19:34:15 +00:00
parent 2dfecac6b9
commit 8cd4c8742f
2 changed files with 13 additions and 22 deletions

View file

@ -1,3 +1,10 @@
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),

View file

@ -76,33 +76,17 @@
/* 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 ", " \
@ -126,7 +110,7 @@
#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 ", " \