From: Wim Taymans Date: Fri, 3 Feb 2012 11:09:34 +0000 (+0100) Subject: tests: don't set NULL caps X-Git-Tag: 1.19.3~511^2~6838 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62b43b3bcd1130b97b55ec90b11c37ddc50d83dd;p=platform%2Fupstream%2Fgstreamer.git tests: don't set NULL caps --- diff --git a/tests/check/elements/textoverlay.c b/tests/check/elements/textoverlay.c index e015a64..54e2870 100644 --- a/tests/check/elements/textoverlay.c +++ b/tests/check/elements/textoverlay.c @@ -118,9 +118,6 @@ notgst_check_teardown_src_pad2 (GstElement * element, gst_pad_unlink (srcpad, sinkpad); - /* caps could have been set, make sure they get unset */ - gst_pad_set_caps (srcpad, NULL); - /* pad refs held by both creator and this function (through _get) */ ASSERT_OBJECT_REFCOUNT (sinkpad, "element sinkpad", 2); gst_object_unref (sinkpad); @@ -179,7 +176,7 @@ buffer_is_all_black (GstBuffer * buf, GstCaps * caps) for (x = 0; x < w; ++x) { if (ptr[x] != 0x00) { - GST_LOG ("non-black pixel at (x,y) %d,%d", x, y); + GST_LOG ("non-black pixel (%d) at (x,y) %d,%d", ptr[x], x, y); return FALSE; } }