]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10050: [core] chromakey
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 4 Mar 2017 00:10:40 +0000 (18:10 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 4 Mar 2017 00:10:40 +0000 (18:10 -0600)
src/switch_core_video.c

index c47056ef29f1a2cf3f0b27fde8118dedfb4290bf..1924c13b99e2d0b06ae0b03adeabdac11b9a4a07 100644 (file)
@@ -384,7 +384,7 @@ SWITCH_DECLARE(void) switch_img_patch_rgb(switch_image_t *IMG, switch_image_t *i
                        src_argb1 += src_stride_argb1;
                        dst_argb += dst_stride_argb;
                }
-               ARGBUnattenuate(src_argb0, src_stride_argb0, src_argb0, src_stride_argb0, img->d_w, img->d_h);
+               ARGBUnattenuate(img->planes[SWITCH_PLANE_PACKED], src_stride_argb0, img->planes[SWITCH_PLANE_PACKED], src_stride_argb0, img->d_w, img->d_h);
        }
 }