[gst-devel] loosing navigation events

John Cummins jrpcummins at yahoo.com
Fri Jul 10 16:24:26 CEST 2009


I have a couple of video filters that allow me to sample and classify pixels.
They use the mouse-button-push navigation events generated by 
xvimagesink to assist in this. When I use gst-launch to launch the pipeline
everything works ok but the user interface is poor.

In an attempt to improve the UI I have an application that launches the same
pipeline and shows the video in a gtk_window. I use gst_x_overlay_set_xwindow_id to set the video in the window which works 
but then the filters do not get the mouse-button-press events, however they do get the  mouse-move events.

My current working hypothesis is that X is somehow stealing the 
mouse-button events but my understanding of X and gtk is very limited.
Can anyone suggest a direction?
My current aim is to have the video and a small number of widgets in
a window to provide a intuitive user interface. I have experimented with
gst_x_overlay_handle_events without any success but perhaps I'm not
doing it right.

Any Ideas?

JC
  




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090710/fb43489a/attachment.htm>


More information about the gstreamer-devel mailing list