[Bug 772455] New: Possible race in wayland_sync
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 5 14:32:08 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=772455
Bug ID: 772455
Summary: Possible race in wayland_sync
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Windows
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer-vaapi
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: mail at jensge.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
CC: bsreerenj at gmail.com, vjaquez at igalia.com
GNOME version: ---
If you have a second thread that registers a second queue on the wayland
display and that will call wl_display_flush, it can happen that the frame
callbacks are already triggered by the while loop in
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/tree/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c#n174.
So it can happen that after
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/tree/gst-libs/gst/vaapi/gstvaapiwindow_wayland.c#n178
the priv->num_frames_pending is already 0 and we will be stuck in gst_poll_wait
forever.
--
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