[Webkit-unassigned] [Bug 159552] [GStreamer] crash within Threaded compositor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 8 04:13:15 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159552
Carlos Garcia Campos <cgarcia at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #283134|review? |review-
Flags| |
--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Comment on attachment 283134
--> https://bugs.webkit.org/attachment.cgi?id=283134
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=283134&action=review
> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:553
> - m_player->sizeChanged();
> + RunLoop::main().dispatch([this] { m_player->sizeChanged(); });
Are you sure this is because of the threaded compositor and not because of GStreamerGL. Because I think in case of not using GSTGL, triggerRepaint is called in the main thread. In case of being in the main thread we would be scheduling this unnecessarily. Also, if the instance is destroyed before the source is dispatches in the main thread, this will crash, so you would need to protect this. It would be better if we could use the main thread notifier for this, but it's int he derived class not here in the base class.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160708/514023b3/attachment.html>
More information about the webkit-unassigned
mailing list