[gstreamer-bugs] [Bug 595427] avoid x event thread if not needed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 30 06:47:51 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=595427
  GStreamer | gst-plugins-base | git

Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #143320|0                           |1
        is obsolete|                            |

--- Comment #4 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2009-09-30 13:47:44 UTC ---
Created an attachment (id=144398)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=144398)
make the event thread conditial

GST_WARNING -> GST_DEBUG_OBJECT

Regarding the polling. I am not an x-exper, but it looks like I could use
XWindowEvent instead of XCheckWindowEvent. This needs rewriting the while loops
in gst_xvimagesink_handle_xevents() so that there is a single loop.

[1]
http://tronche.com/gui/x/xlib/event-handling/manipulating-event-queue/XWindowEvent.html
[2]
http://tronche.com/gui/x/xlib/event-handling/manipulating-event-queue/XCheckWindowEvent.html

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