tests: fix caps leak in videotestsrc test

This commit is contained in:
Vincent Penquerc'h 2012-01-13 15:57:20 +00:00
parent f10e8192fa
commit 4c2a2063cf

View file

@ -350,6 +350,7 @@ GST_START_TEST (test_crop_to_1x1)
if (g_strcmp0 (gst_structure_get_name (s), "video/x-raw-gray") == 0) {
/* videotestsrc does not support this format */
gst_caps_unref (caps);
continue;
}