registry: Print the pointer when printing features
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 22 Jun 2020 23:48:11 +0000 (05:18 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 23 Jun 2020 11:16:49 +0000 (12:16 +0100)
This is what we do everywhere else too, useful for debugging.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/542>

gst/gstregistrychunks.c

index 15015d8..b352c45 100644 (file)
@@ -494,8 +494,8 @@ _priv_gst_registry_chunks_save_plugin (GList ** list, GstRegistry * registry,
 
   *list = g_list_prepend (*list, chk);
 
-  GST_DEBUG ("Found %d features in plugin \"%s\"", pe->nfeatures,
-      plugin->desc.name);
+  GST_DEBUG ("Found %d features in plugin %p (%s)", pe->nfeatures,
+      plugin, plugin->desc.name);
   return TRUE;
 
   /* Errors */