mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
videomixer: Fix stupid mistake in last commit
This commit is contained in:
parent
089d9d9dba
commit
760eaf7b2a
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ gst_i420_do_blend (guint8 * src, guint8 * dest,
|
||||||
|
|
||||||
for (i = 0; i < src_height; i++) {
|
for (i = 0; i < src_height; i++) {
|
||||||
for (j = 0; j < src_width; j++) {
|
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++;
|
dest++;
|
||||||
src++;
|
src++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue