[Webkit-unassigned] [Bug 151256] [GStreamer] Use RunLoop instead of GMainLoop in AudioFileReaderGStreamer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 15 23:48:18 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151256
--- Comment #6 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 265476
--> https://bugs.webkit.org/attachment.cgi?id=265476
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=265476&action=review
>>>> Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:380
>>>> + }
>>>
>>> Would RunLoop::run() not set up a nested main loop in case of running this in the main thread?
>>>
>>> What about the cases where the bus is created in a non-main WebWorker thread that's also managed via RunLoop, wouldn't that set up the nested loop?
>>
>> Yes, but with the same main context, we need a different one to avoid deadlocks. Phil wrote the original code, so he should know the details.
>
> My bad, workers don't use RunLoop, they use a custom queue.
On that note, the new code goes on to create a RunLoop object in the worker thread.
I'd rather avoid that, and just use a new thread regardless where the AudioBus creation is requested (the main thread or a worker thread).
--
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/20151116/d3f5fc75/attachment.html>
More information about the webkit-unassigned
mailing list