s = gst_caps_get_structure (caps, 0);
fail_unless (s != NULL);
+ if (g_strcmp0 (gst_structure_get_name (s), "video/x-raw-gray") == 0) {
+ /* videotestsrc does not support this format */
+ continue;
+ }
+
GST_INFO ("testing format: %" GST_PTR_FORMAT, caps);
gst_structure_set (s, "width", G_TYPE_INT, 160,
s = gst_caps_get_structure (caps, 0);
fail_unless (s != NULL);
+ if (g_strcmp0 (gst_structure_get_name (s), "video/x-raw-gray") == 0) {
+ /* videotestsrc does not support this format */
+ continue;
+ }
+
GST_INFO ("testing format: %" GST_PTR_FORMAT, caps);
for (i = 0; i < G_N_ELEMENTS (sizes_to_try); ++i) {