mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
playbin3: fix missing lock when unknown stream type in pad-removed cb
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2209>
This commit is contained in:
parent
b5b8f0ed22
commit
abf1bfdb9d
1 changed files with 2 additions and 1 deletions
|
@ -3147,11 +3147,12 @@ pad_removed_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
|
|||
else if (g_str_has_prefix (GST_PAD_NAME (pad), "text"))
|
||||
combine = &playbin->combiner[PLAYBIN_STREAM_TEXT];
|
||||
else
|
||||
return;
|
||||
goto done;
|
||||
|
||||
combiner_release_pad (playbin, combine, pad);
|
||||
release_source_pad (playbin, group, pad);
|
||||
|
||||
done:
|
||||
GST_PLAY_BIN3_UNLOCK (playbin);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue