[webkit-changes] [WebKit/WebKit] dadcac: [GStreamer] Ignore notify::caps with NULL caps
Alicia Boya García
noreply at github.com
Fri Oct 13 10:23:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dadcac2683e98a375c206185919ad7f70ab7123e
https://github.com/WebKit/WebKit/commit/dadcac2683e98a375c206185919ad7f70ab7123e
Author: Alicia Boya Garcia <aboya at igalia.com>
Date: 2023-10-13 (Fri, 13 Oct 2023)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp
Log Message:
-----------
[GStreamer] Ignore notify::caps with NULL caps
https://bugs.webkit.org/show_bug.cgi?id=262949
Reviewed by Philippe Normand.
notify::caps is triggered not only when caps are set, but also when
they're unset, as it's the case during pipeline teardown.
This was happening as the state pipeline was set to NULL from the main
thread, making the non-main-thread assertion
AbortableTaskQueue::enqueueTask() fail.
* Source/WebCore/platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
(WebCore::TrackPrivateBaseGStreamer::installUpdateConfigurationHandlers):
Canonical link: https://commits.webkit.org/269307@main
More information about the webkit-changes
mailing list