ges-uri-source: fix object debug
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Aug 2021 21:37:59 +0000 (23:37 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 19 Aug 2021 22:11:45 +0000 (00:11 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/265>

ges/ges-uri-source.c

index 1775db4..e98ce10 100644 (file)
@@ -107,8 +107,8 @@ autoplug_select_cb (GstElement * bin, GstPad * pad, GstCaps * caps,
   if (downstream_caps && gst_caps_can_intersect (downstream_caps, caps)) {
     if (wanted) {
       res = GST_AUTOPLUG_SELECT_EXPOSE;
-      GST_INFO_OBJECT (self, "Exposing %" GST_PTR_FORMAT " with stream id: %s",
-          caps, stream_id);
+      GST_INFO_OBJECT (self->element,
+          "Exposing %" GST_PTR_FORMAT " with stream id: %s", caps, stream_id);
     } else {
       res = GST_AUTOPLUG_SELECT_SKIP;
       GST_DEBUG_OBJECT (self->element, "Totally skipping %s", stream_id);