[Bug 751104] make Gtk sinks usable from gst-launch

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 15 14:03:32 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=751104

--- Comment #18 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
This time with the idler. One of the benifit of the idler is not simplicity
(it's pretty much the same) but it let me avoid flooding the main context if
the display path is really slow.

Notice that two small change slipped in the race fix, I removed a spurious
gtk_widget_queue_resize (GTK_WIDGET (widget)); called from the wrong thread.
And I added a missing gst_buffer_replace (&widget->priv->buffer, NULL); as done
in the GL case. This prevent assertion on resize. While testing resize I notice
that a back frame is displayed. That because resize is wrongly implemented
(it's not asynchronous as it should). I could remove the redraw idler, and the
black frame would go away, but that would systematically drop a buffer. I'll
file another but for that, and I'll create base classes cause it's becoming
ridiculous to copy paste this stuff.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list