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/monoscope | |
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/monoscope')
-rw-r--r-- | gst/monoscope/gstmonoscope.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 9eb8bb43..13a6099b 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -93,7 +93,7 @@ GST_PAD_TEMPLATE_FACTORY (src_template, "video/x-raw-rgb", "bpp", GST_PROPS_INT (32), "depth", GST_PROPS_INT (32), - "endianness", GST_PROPS_INT (G_BYTE_ORDER), + "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), @@ -215,13 +215,13 @@ gst_monoscope_negotiate (GstMonoscope *monoscope) "video/x-raw-rgb", "bpp", GST_PROPS_INT (32), "depth", GST_PROPS_INT (32), - "endianness", GST_PROPS_INT (G_BYTE_ORDER), + "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 (monoscope->width), "height", GST_PROPS_INT (monoscope->height), - "framerate", GST_PROPS_FLOAT (monoscope->fps) + "framerate", GST_PROPS_FLOAT (monoscope->fps) ); return gst_pad_try_set_caps (monoscope->srcpad, caps); |