bin: fix deep-element-added signal debug log message
authorMatthew Waters <matthew@centricular.com>
Thu, 29 Mar 2018 01:36:11 +0000 (12:36 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 29 Mar 2018 01:36:11 +0000 (12:36 +1100)
Adding the bin to the child element doesn't really make sense.

gst/gstbin.c

index 3719c40..e575aee 100644 (file)
@@ -1459,7 +1459,7 @@ gst_bin_deep_element_added_func (GstBin * bin, GstBin * sub_bin,
 
   GST_LOG_OBJECT (parent_bin, "emitting deep-element-added for element "
       "%" GST_PTR_FORMAT " which has just been added to %" GST_PTR_FORMAT,
-      sub_bin, child);
+      child, sub_bin);
 
   g_signal_emit (parent_bin, gst_bin_signals[DEEP_ELEMENT_ADDED], 0, sub_bin,
       child);