videotestsrc.c: Correct left shift operator
authorFrancisco Javier Velázquez-García <francisco.velazquez@ltnglobal.com>
Tue, 23 Feb 2021 13:40:02 +0000 (14:40 +0100)
committerFrancisco Javier Velázquez-García <francisco.velazquez@ltnglobal.com>
Tue, 23 Feb 2021 13:53:43 +0000 (14:53 +0100)
Use the left shift operator '<<' instead of the mistakenly typed less
than operator '<'.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1047>

gst/videotestsrc/videotestsrc.c

index bbe5380..d127564 100644 (file)
@@ -61,7 +61,7 @@ enum
 static const struct vts_color_struct vts_colors_bt709_ycbcr_100[] = {
   {235, 128, 128, 255, 255, 255, 255, (235 << 8)},
   {219, 16, 138, 255, 255, 255, 0, (219 << 8)},
-  {188, 154, 16, 255, 0, 255, 255, (188 < 8)},
+  {188, 154, 16, 255, 0, 255, 255, (188 << 8)},
   {173, 42, 26, 255, 0, 255, 0, (173 << 8)},
   {78, 214, 230, 255, 255, 0, 255, (78 << 8)},
   {63, 102, 240, 255, 255, 0, 0, (64 << 8)},
@@ -91,7 +91,7 @@ static const struct vts_color_struct vts_colors_bt709_ycbcr_75[] = {
 static const struct vts_color_struct vts_colors_bt601_ycbcr_100[] = {
   {235, 128, 128, 255, 255, 255, 255, (235 << 8)},
   {210, 16, 146, 255, 255, 255, 0, (219 << 8)},
-  {170, 166, 16, 255, 0, 255, 255, (188 < 8)},
+  {170, 166, 16, 255, 0, 255, 255, (188 << 8)},
   {145, 54, 34, 255, 0, 255, 0, (173 << 8)},
   {106, 202, 222, 255, 255, 0, 255, (78 << 8)},
   {81, 90, 240, 255, 255, 0, 0, (64 << 8)},