GNOME Bugzilla – Bug 387138
x input events processing in sinks with xoverlay interface [patch]
Last modified: 2007-01-04 11:35:04 UTC
Hi all, while working on gstreamer support for OpenOffice I run into problem where xvimagesink and ximagesink are eating keypress/keyrelease events in OOo embedded window (I set xwindow ID with GstXOverlay iface) and I am unable to receive them in OOo. I am attaching a patch which introduces new method gst_x_overlay_set_process_input in GstXOverlay interface. This method can be used to tell X based video sinks to not process input events. The patch also implements this new function in xvimage and ximage sinks.
Created attachment 78562 [details] [review] proposed patch
Created attachment 79307 [details] [review] Another patch That patch provides the support for disabling events on internal and external windows even on the fly.
+1 from me, toggle_events (GstXOverlay * ov) should probably use GST_DEBUG() and not g_print
stress-overlay is a stress test element it's using g_print everywhere for now. I don't really see the point of switching to debugging macros. Patch entered CVS. Bug fixed.