[gstreamer-bugs] [Bug 147883] - [PATCH] ximagesink/xvimagesink do not allow for a way to backtrace on X errors

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Jul 19 08:00:27 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=147883
GStreamer | gst-plugins | Ver: 0.8.3





------- Additional Comments From in7y118 at public.uni-hamburg.de  2004-07-19 11:00 -------
That is very ugly, because it causes side effects in unrelated parts of the
program (other ximagesinks). It also doesn't recover from errors in other parts
of the code - like state changes or buffer allocations, that might not even be
critical (-ENOMEM on buffer alloc for example).

I'd suggest that if you want to be able to debug X errors, use a global mapping
of display <=> element and properly lock it when adding/removing/querying
elements from this mapping.
And check the error stuff after every XSync, if you have avoidable errors (like
buffer_alloc).

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list