bin: Fix deep-element-removed log message

child and bin were switched.

https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/354
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-01-09 20:07:06 +01:00 committed by Tim-Philipp Müller
parent 5c47fe6118
commit 63f0b31dbf

View file

@ -1485,7 +1485,7 @@ gst_bin_deep_element_removed_func (GstBin * bin, GstBin * sub_bin,
GST_LOG_OBJECT (parent_bin, "emitting deep-element-removed for element "
"%" GST_PTR_FORMAT " which has just been removed from %" GST_PTR_FORMAT,
sub_bin, child);
child, sub_bin);
g_signal_emit (parent_bin, gst_bin_signals[DEEP_ELEMENT_REMOVED], 0, sub_bin,
child);