From: Tim-Philipp Müller Date: Sun, 26 Aug 2012 20:27:00 +0000 (+0100) Subject: tests: fix videocrop crop_to_1x1 unit test for GRAY8 format X-Git-Tag: 1.19.3~509^2~6755 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a62f9b178dee2e9156a07bc376efef682485945c;p=platform%2Fupstream%2Fgstreamer.git tests: fix videocrop crop_to_1x1 unit test for GRAY8 format Update table with pixel values with the value actually produced by videotestsrc. --- diff --git a/tests/check/elements/videocrop.c b/tests/check/elements/videocrop.c index b923150..4e6e4ab 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;