loosing navigation events

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

loosing navigation events

JRPC
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
 



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel