test: enlarge the number

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>
This commit is contained in:
Haihao Xiang 2021-05-11 12:01:03 +08:00
parent d3ac7bfcbf
commit c778686a3c

View 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;