Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Nazar <nazard@nazar.ca>2021-04-21 06:54:52 +0300
committerDoug Nazar <nazard@nazar.ca>2021-04-21 06:54:52 +0300
commit77ab7b42b382d07982ca8df464e82949dd749612 (patch)
tree0daed49b362c75b7deee3aad105a309f84f7ac9b
parentfad603011d590a2c568730ffc3adf1d6bf5a778e (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.c3
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");
}
}