urisourcebin: Mention which queue is being linked in debug output
authorJan Schmidt <jan@centricular.com>
Wed, 22 Mar 2017 13:21:44 +0000 (00:21 +1100)
committerJan Schmidt <jan@centricular.com>
Wed, 22 Mar 2017 13:21:44 +0000 (00:21 +1100)
gst/playback/gsturisourcebin.c

index e785364..566b758 100644 (file)
@@ -975,8 +975,9 @@ pending_pad_blocked (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
 
   /* If already linked to a slot, nothing more to do */
   if (child_info->output_slot) {
-    GST_LOG_OBJECT (urisrc, "Pad %" GST_PTR_FORMAT " is linked to slot %p",
-        pad, child_info->output_slot);
+    GST_LOG_OBJECT (urisrc, "Pad %" GST_PTR_FORMAT " is linked to queue %"
+        GST_PTR_FORMAT " on slot %p", pad, child_info->output_slot->queue,
+        child_info->output_slot);
     GST_URI_SOURCE_BIN_UNLOCK (urisrc);
     goto done;
   }