test: enlarge the number
authorHaihao Xiang <haihao.xiang@intel.com>
Tue, 11 May 2021 04:01:03 +0000 (12:01 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Tue, 11 May 2021 04:24:41 +0000 (12:24 +0800)
This is to make sure the case can pass after adding new video formats.

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

tests/check/libs/video.c

index 897d9d7..923e73d 100644 (file)
@@ -368,7 +368,7 @@ video_format_is_packed (GstVideoFormat fmt)
 static gint
 get_num_formats (void)
 {
-  gint num_formats = 100;
+  gint num_formats = 200;
   fail_unless (gst_video_format_to_string (num_formats) == NULL);
   while (gst_video_format_to_string (num_formats) == NULL)
     --num_formats;