[gstreamer-bugs] [Bug 595427] avoid x event thread if not needed
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Sep 30 08:14:00 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=595427
GStreamer | gst-plugins-base | git
Jan Schmidt <thaytan> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thaytan at mad.scientist.com
--- Comment #5 from Jan Schmidt <thaytan at mad.scientist.com> 2009-09-30 15:13:56 UTC ---
The reason it uses XWindowCheckEvent is precisely to avoid blocking.
The thread putting buffers on the screen is trying to use that same X display
connection. It will be stalled waiting for the input thread whenever the input
thread is holding the xlock.
It might be possible instead to poll/select on the X display file descriptor
(XConnectionNumber()) and avoid using a timeout. It probably needs to be done
in a way that uses GstPoll(), and disables it when the display thread is doing
any X operations.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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