mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
fix debugging segfault
Original commit message from CVS: fix debugging segfault
This commit is contained in:
parent
a68e0b8324
commit
fa69e9954c
1 changed files with 4 additions and 2 deletions
|
@ -494,8 +494,10 @@ gst_thread_child_state_change (GstBin *bin, GstElementState oldstate,
|
|||
GstElementState newstate, GstElement *element)
|
||||
{
|
||||
GST_DEBUG (GST_CAT_THREAD, "%s (from thread %s) child %s changed state from %s to %s\n",
|
||||
GST_ELEMENT_NAME (bin), GST_ELEMENT_NAME (gst_thread_get_current()), GST_ELEMENT_NAME (element),
|
||||
gst_element_state_get_name (oldstate), gst_element_state_get_name (newstate));
|
||||
GST_ELEMENT_NAME (bin),
|
||||
gst_thread_get_current() ? GST_ELEMENT_NAME (gst_thread_get_current()) : "(none)",
|
||||
GST_ELEMENT_NAME (element), gst_element_state_get_name (oldstate),
|
||||
gst_element_state_get_name (newstate));
|
||||
if (parent_class->child_state_change)
|
||||
parent_class->child_state_change (bin, oldstate, newstate, element);
|
||||
/* We'll wake up the main thread now. Note that we can't lock the thread here,
|
||||
|
|
Loading…
Reference in a new issue