harness: Fix object used to log caps warning.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/801>
This commit is contained in:
Doug Nazar 2021-04-20 23:54:52 -04:00
parent fad603011d
commit 77ab7b42b3

View file

@ -361,7 +361,8 @@ gst_harness_negotiate (GstHarness * h)
gst_harness_decide_allocation (h, caps);
gst_caps_unref (caps);
} else {
GST_FIXME_OBJECT (h, "Cannot negotiate allocation because caps is not set");
GST_FIXME_OBJECT (h->srcpad,
"Cannot negotiate allocation because caps is not set");
}
}