diff options
author | David Schleef <ds@schleef.org> | 2003-10-07 18:52:16 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-10-07 18:52:16 +0000 |
commit | ffaa5926c6f35f0241b1cd98780523f2772dd950 (patch) | |
tree | 00d300b7748ccba62749179c9438b23f5882a060 /gst/goom | |
parent | 69654e8c6c7a3f2b951cb83eadcb3f166128e829 (diff) |
Fix endianness problems in caps. Fixes #124006
Original commit message from CVS:
Fix endianness problems in caps. Fixes #124006
Diffstat (limited to 'gst/goom')
-rw-r--r-- | gst/goom/gstgoom.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index bbf49bbd..f571fc3f 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -244,14 +244,14 @@ gst_goom_negotiate_default (GstGOOM *goom) caps = GST_CAPS_NEW ( "goomsrc", - "video/raw", + "video/x-raw-rgb", "format", GST_PROPS_FOURCC (GST_STR_FOURCC ("RGB ")), "bpp", GST_PROPS_INT (32), "depth", GST_PROPS_INT (32), - "endianness", GST_PROPS_INT (G_BYTE_ORDER), - "red_mask", GST_PROPS_INT (0xff0000), - "green_mask", GST_PROPS_INT (0x00ff00), - "blue_mask", GST_PROPS_INT (0x0000ff), + "endianness", GST_PROPS_INT (G_BIG_ENDIAN), + "red_mask", GST_PROPS_INT (R_MASK_32), + "green_mask", GST_PROPS_INT (G_MASK_32), + "blue_mask", GST_PROPS_INT (B_MASK_32), "width", GST_PROPS_INT (goom->width), "height", GST_PROPS_INT (goom->height), "framerate", GST_PROPS_FLOAT (goom->fps) |