mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
tests: don't set NULL caps
This commit is contained in:
parent
c24df0e50f
commit
62b43b3bcd
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue