tests: fix videocrop crop_to_1x1 unit test for GRAY8 format
authorTim-Philipp Müller <tim@centricular.net>
Sun, 26 Aug 2012 20:27:00 +0000 (21:27 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 27 Aug 2012 20:20:29 +0000 (21:20 +0100)
Update table with pixel values with the value actually produced
by videotestsrc.

tests/check/elements/videocrop.c

index b923150..4e6e4ab 100644 (file)
@@ -258,7 +258,7 @@ check_1x1_buffer (GstBuffer * buf, GstCaps * caps)
   /* the exact values we check for come from videotestsrc */
   static const guint yuv_values[] = { 81, 90, 240, 255 };
   static const guint rgb_values[] = { 0xff, 0, 0, 255 };
-  static const guint gray_values[] = { 63, 63, 63, 255 };
+  static const guint gray_values[] = { 0x51 };
   const guint *values;
   guint i;
   const GstVideoFormatInfo *finfo;