r288092 causes a deadlock with the "28. ChangeType.H264.VP9" test in "https://ytlr-cert.appspot.com/2020/main.html". The background thread locks the GStPad and sends a notify::caps signal which is caught by VideoTrackPrivateGStreamer that calls callOnMainThreadAndWait. At the same time the main thread destroys MediaPlayerPrivateGStreamer and sets the pipeline to NULL that calls "gst_pad_set_active" which wants to lock the GStPad. See https://bugs.webkit.org/show_bug.cgi?id=234084
Created attachment 459597 [details] Patch
Created attachment 459598 [details] Patch
Comment on attachment 459598 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459598&action=review > Source/WebCore/ChangeLog:1 > +2022-05-19 Yacine Bandou <yacine.bandou@softathome.com> We don't use ChangeLogs anymore. Please remove this :)
Created attachment 459603 [details] Patch
Committed r294537 (250792@main): <https://commits.webkit.org/250792@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459603 [details].
<rdar://problem/93641733>