[Bug 772455] vaapisink: possible race in wayland_sync

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 19 13:29:01 UTC 2016


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

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED

--- Comment #5 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
The problem with this patch is that it doesn't assure the blocking at
gst_poll_wai() won't happen.

A more realistic approach would be to flush the poll when the pending frames
are zero. But that would mean to nest polls flushes, since we are already
flushing the poll if the user closes the display. We would distinct which flush
are we stopping.

Another approach would be the application to block the thread where
wl_display_flush() is called while the sink is rendering a frame, by using the
"handoff" signal of vaapisink.

-- 
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