From 7bdaa49fa394da3b2c549f2855745cc639388bb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 21 May 2014 10:43:49 +0200 Subject: [PATCH] video: And check comparison for real --- tests/check/libs/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/libs/video.c b/tests/check/libs/video.c index ca95693..3834934 100644 --- a/tests/check/libs/video.c +++ b/tests/check/libs/video.c @@ -537,7 +537,7 @@ GST_START_TEST (test_video_formats) fail_unless_equals_int (GST_VIDEO_INFO_COMP_STRIDE (&vinfo, 0), paintinfo.ystride); if (!gst_video_format_is_packed (fmt) - && GST_VIDEO_INFO_N_PLANES (&vinfo) > 2) { + && GST_VIDEO_INFO_N_PLANES (&vinfo) <= 2) { /* planar */ fail_unless_equals_int (GST_VIDEO_INFO_COMP_STRIDE (&vinfo, 1), paintinfo.ustride); -- 2.7.4