diff options
author | Doug Nazar <nazard@nazar.ca> | 2021-04-21 06:54:52 +0300 |
---|---|---|
committer | Doug Nazar <nazard@nazar.ca> | 2021-04-21 06:54:52 +0300 |
commit | 77ab7b42b382d07982ca8df464e82949dd749612 (patch) | |
tree | 0daed49b362c75b7deee3aad105a309f84f7ac9b | |
parent | fad603011d590a2c568730ffc3adf1d6bf5a778e (diff) |
harness: Fix object used to log caps warning.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/801>
-rw-r--r-- | libs/gst/check/gstharness.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); } } |