diff options
author | Arek Korbik <arkadini@gmail.com> | 2007-11-14 10:22:41 +0000 |
---|---|---|
committer | Michael Smith <msmith@xiph.org> | 2007-11-14 10:22:41 +0000 |
commit | d04c0bb4c4f0f3f152da78cc8aa06090b08b375e (patch) | |
tree | 855feb2e16a6e3d7dbc899bb1501042492d83d43 /gst | |
parent | a597c1d4e3ccba83963e4bf928913c414a3636a0 (diff) |
gst/alpha/gstalphacolor.c: Detect RGBA/BGRA correctly on little endian systems.
Original commit message from CVS:
Patch by: Arek Korbik <arkadini@gmail.com>
* gst/alpha/gstalphacolor.c: (gst_alpha_color_set_caps):
Detect RGBA/BGRA correctly on little endian systems.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/alpha/gstalphacolor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c index 36cc9205..6e628781 100644 --- a/gst/alpha/gstalphacolor.c +++ b/gst/alpha/gstalphacolor.c @@ -203,7 +203,7 @@ gst_alpha_color_set_caps (GstBaseTransform * btrans, GstCaps * incaps, #if (G_BYTE_ORDER == G_BIG_ENDIAN) if (red_mask != 0x000000ff) #else - if (red_mask != 0x00ff0000) + if (red_mask != 0xff000000) #endif alpha->in_rgba = FALSE; |