Commit 9d4eee38 authored by Wim Taymans's avatar Wim Taymans
Browse files

Fix a little typo, unlock the peer element if it's decoupled instead of our own element

Original commit message from CVS:
Fix a little typo, unlock the peer element if it's decoupled instead
of our own element
parent 49dd11fb
...@@ -363,8 +363,9 @@ gst_thread_change_state (GstElement * element) ...@@ -363,8 +363,9 @@ gst_thread_change_state (GstElement * element)
if (GST_ELEMENT_SCHED (peerelement) != GST_ELEMENT_SCHED (thread)) { if (GST_ELEMENT_SCHED (peerelement) != GST_ELEMENT_SCHED (thread)) {
THR_DEBUG (" element \"%s\" has pad cross sched boundary", GST_ELEMENT_NAME (element)); THR_DEBUG (" element \"%s\" has pad cross sched boundary", GST_ELEMENT_NAME (element));
if (!gst_element_release_locks (element)) { THR_DEBUG (" waking element \"%s\"", GST_ELEMENT_NAME (peerelement));
g_warning ("element %s could not release locks", GST_ELEMENT_NAME (element)); if (!gst_element_release_locks (peerelement)) {
g_warning ("element %s could not release locks", GST_ELEMENT_NAME (peerelement));
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment