From a62f9b178dee2e9156a07bc376efef682485945c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 26 Aug 2012 21:27:00 +0100 Subject: [PATCH] tests: fix videocrop crop_to_1x1 unit test for GRAY8 format Update table with pixel values with the value actually produced by videotestsrc. --- tests/check/elements/videocrop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/elements/videocrop.c b/tests/check/elements/videocrop.c index b923150d6b..4e6e4ab684 100644 --- a/tests/check/elements/videocrop.c +++ b/tests/check/elements/videocrop.c @@ -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; -- 2.34.1