check: Update video test for GST_VIDEO_FORMAT_ENCODED

This commit is contained in:
Edward Hervey 2012-05-25 16:05:29 +02:00
parent f840383a1a
commit d7fff5e023

View file

@ -396,7 +396,8 @@ GST_START_TEST (test_video_formats_all)
fail_if (gst_video_format_from_string (fmt_str) ==
GST_VIDEO_FORMAT_UNKNOWN);
}
fail_unless_equals_int (num, num_formats);
/* Take into account GST_VIDEO_FORMAT_ENCODED */
fail_unless_equals_int (num, num_formats - 1);
gst_caps_unref (caps);
}