[Webkit-unassigned] [Bug 138562] [GStreamer] GstGL support in the video sink

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 16 06:23:51 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=138562

--- Comment #6 from Zan Dobersek <zandobersek at gmail.com> ---
Comment on attachment 243045
  --> https://bugs.webkit.org/attachment.cgi?id=243045
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=243045&action=review

> Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:432
> +    GThreadSafeMainLoopSource timeoutSource;
> +    gst_object_ref(sink);
> +    timeoutSource.schedule("[WebKit][gst] GL context wrap", std::function<void()>(std::bind(wrapGLContextCallback, sink)), G_PRIORITY_DEFAULT, [sink] {
> +        gst_object_unref(sink);
> +    });

Would GMainLoopSource::scheduleAndDeleteOnDestroy() fit better here? I don't think GThreadSafeMainLoopSource is required here in any case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141216/a3287627/attachment-0002.html>


More information about the webkit-unassigned mailing list