From: Doug Nazar Date: Wed, 21 Apr 2021 03:54:52 +0000 (-0400) Subject: harness: Fix object used to log caps warning. X-Git-Tag: 1.19.3~578 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77ab7b42b382d07982ca8df464e82949dd749612;hp=fad603011d590a2c568730ffc3adf1d6bf5a778e;p=platform%2Fupstream%2Fgstreamer.git harness: Fix object used to log caps warning. Part-of: --- diff --git a/libs/gst/check/gstharness.c b/libs/gst/check/gstharness.c index 3f5dca1..0246747 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"); } }