projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916e4c8
)
videomixer: fix endianness check on systems where non-glib endianness defines are...
author
Michael Rubinstein
<mrubinstein@rai-dev.com>
Fri, 24 Aug 2012 18:43:08 +0000
(19:43 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 24 Aug 2012 18:45:11 +0000
(19:45 +0100)
On Windows LITTLE_ENDIAN without the G_ in was not defined, so the
test comes out wrong.
gst/videomixer/blend.c
patch
|
blob
|
history
diff --git
a/gst/videomixer/blend.c
b/gst/videomixer/blend.c
index
b7e24a1
..
3532f11
100644
(file)
--- a/
gst/videomixer/blend.c
+++ b/
gst/videomixer/blend.c
@@
-106,7
+106,7
@@
BLEND_A32_LOOP (bgra, blend);
BLEND_A32_LOOP (argb, overlay);
BLEND_A32_LOOP (bgra, overlay);
-#if G_BYTE_ORDER == LITTLE_ENDIAN
+#if G_BYTE_ORDER ==
G_
LITTLE_ENDIAN
BLEND_A32 (argb, blend, _blend_loop_argb);
BLEND_A32 (bgra, blend, _blend_loop_bgra);
BLEND_A32 (argb, overlay, _overlay_loop_argb);