mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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
This commit is contained in:
parent
49dd11fb6c
commit
9d4eee380a
1 changed files with 3 additions and 2 deletions
|
@ -363,8 +363,9 @@ gst_thread_change_state (GstElement * element)
|
|||
|
||||
if (GST_ELEMENT_SCHED (peerelement) != GST_ELEMENT_SCHED (thread)) {
|
||||
THR_DEBUG (" element \"%s\" has pad cross sched boundary", GST_ELEMENT_NAME (element));
|
||||
if (!gst_element_release_locks (element)) {
|
||||
g_warning ("element %s could not release locks", GST_ELEMENT_NAME (element));
|
||||
THR_DEBUG (" waking element \"%s\"", GST_ELEMENT_NAME (peerelement));
|
||||
if (!gst_element_release_locks (peerelement)) {
|
||||
g_warning ("element %s could not release locks", GST_ELEMENT_NAME (peerelement));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue