summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/video-converter.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/video/video-converter.c')
-rw-r--r--gst-libs/gst/video/video-converter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/video/video-converter.c b/gst-libs/gst/video/video-converter.c
index b21f9e6e3..6aacc3b35 100644
--- a/gst-libs/gst/video/video-converter.c
+++ b/gst-libs/gst/video/video-converter.c
@@ -2175,7 +2175,7 @@ setup_borderline (GstVideoConverter * convert)
u = CLAMP (u, 0, 255);
v = CLAMP (v, 0, 255);
- border_val = a | (y << 8) | (u << 16) | (v << 24);
+ border_val = a | (y << 8) | (u << 16) | ((guint32) v << 24);
} else {
border_val = GINT32_FROM_BE (convert->border_argb);
}