diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c index 437c3c6db7..12ac4d9b36 100644 --- a/gst-libs/gst/video/video-converter.c +++ b/gst-libs/gst/video/video-converter.c @@ -1676,7 +1676,7 @@ convert_mult_alpha_u16 (GstVideoConverter * convert, gpointer pixels, for (i = 0; i < width; i++) { gint a = (p[i * 4] * alpha) / 255; - p[i * 4] = CLAMP (a, 0, 255); + p[i * 4] = CLAMP (a, 0, 65535); } }