[gst-cvs] gst-plugins-good: videomixer: Fix stupid mistake in last commit
Sebastian Dröge
slomo at kemper.freedesktop.org
Fri Dec 11 04:11:42 PST 2009
Module: gst-plugins-good
Branch: master
Commit: 760eaf7b2a4bafb40ba6c92cf0c9e07c039511c9
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=760eaf7b2a4bafb40ba6c92cf0c9e07c039511c9
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Fri Dec 11 13:11:12 2009 +0100
videomixer: Fix stupid mistake in last commit
---
gst/videomixer/blend_i420.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/videomixer/blend_i420.c b/gst/videomixer/blend_i420.c
index fb672f6..d9412a0 100644
--- a/gst/videomixer/blend_i420.c
+++ b/gst/videomixer/blend_i420.c
@@ -213,7 +213,7 @@ gst_i420_do_blend (guint8 * src, guint8 * dest,
for (i = 0; i < src_height; i++) {
for (j = 0; j < src_width; j++) {
- *dest = (b_alpha * (*src) + (255 - b_alpha) * (*dest)) >> 16;
+ *dest = (b_alpha * (*src) + (255 - b_alpha) * (*dest)) >> 8;
dest++;
src++;
}
More information about the Gstreamer-commits
mailing list