From: <sl...@ke...> - 2010-02-10 09:43:14
|
Module: gst-plugins-bad Branch: master Commit: 6ef01b3c59acf08703d90acbf2a2c506590c3029 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=6ef01b3c59acf08703d90acbf2a2c506590c3029 Author: Sebastian Dröge <seb...@co...> Date: Wed Feb 10 10:42:32 2010 +0100 shapewipe: Fix ARGB processing --- gst/shapewipe/gstshapewipe.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/shapewipe/gstshapewipe.c b/gst/shapewipe/gstshapewipe.c index d5c40f9..944ff6b 100644 --- a/gst/shapewipe/gstshapewipe.c +++ b/gst/shapewipe/gstshapewipe.c @@ -870,12 +870,12 @@ gst_shape_wipe_blend_##name##_##depth (GstShapeWipe * self, GstBuffer * inbuf, \ for (j = 0; j < width; j++) { \ guint32 in = *mask << shift; \ \ - if (in < low) { \ + if (in < low_i) { \ output[a] = 0x00; /* A */ \ output[r] = 0x00; /* R */ \ output[g] = 0x00; /* G */ \ output[b] = 0x00; /* B */ \ - } else if (in >= high) { \ + } else if (in >= high_i) { \ output[a] = 0xff; /* A */ \ output[r] = input[r]; /* R */ \ output[g] = input[g]; /* G */ \ |