mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
decodebin3: Remove spurious input locking during parsebin reconfiguration
Commit 22917b140f
added extra locks in
`reset_input_parsebin()` but all call sites of that function already take the
input lock.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5025>
This commit is contained in:
parent
ca868332f1
commit
e7724ecf0b
1 changed files with 0 additions and 2 deletions
|
@ -1035,7 +1035,6 @@ reset_input_parsebin (GstDecodebin3 * dbin, DecodebinInput * input)
|
|||
|
||||
GST_DEBUG_OBJECT (dbin, "Resetting %" GST_PTR_FORMAT, input->parsebin);
|
||||
|
||||
INPUT_LOCK (dbin);
|
||||
GST_STATE_LOCK (dbin);
|
||||
gst_element_set_state (input->parsebin, GST_STATE_NULL);
|
||||
input->drained = FALSE;
|
||||
|
@ -1048,7 +1047,6 @@ reset_input_parsebin (GstDecodebin3 * dbin, DecodebinInput * input)
|
|||
}
|
||||
gst_element_sync_state_with_parent (input->parsebin);
|
||||
GST_STATE_UNLOCK (dbin);
|
||||
INPUT_UNLOCK (dbin);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue