From 77ab7b42b382d07982ca8df464e82949dd749612 Mon Sep 17 00:00:00 2001 From: Doug Nazar Date: Tue, 20 Apr 2021 23:54:52 -0400 Subject: [PATCH] harness: Fix object used to log caps warning. Part-of: --- libs/gst/check/gstharness.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/gst/check/gstharness.c b/libs/gst/check/gstharness.c index 3f5dca1ab3..0246747e06 100644 --- a/libs/gst/check/gstharness.c +++ b/libs/gst/check/gstharness.c @@ -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"); } }