[gst-devel] Drawing on embedded ximagesink
rbultje at ronald.bitfreak.net
Mon Jun 21 07:25:00 CEST 2004
On Mon, 21 Jun 2004, Thomas [ISO-8859-1] Kuleßa wrote:
> I am implementing some kind mouse-based rectangular region selection on
> a gstreamer video stream. I am using an ximagesink inside a
> gst_video_widget (from gst-player) inside a gnome-canvas to accomplish
> this. The problem is, that the video widget is always on top of the
> canvas so it is not possible to overlay the widget with a rectangle.
> Does anybody know, if the totem video widget is more approbiate for
> this, or if gnome-canvas is the wrong direction anyway?
This won't work. You either need a 'selection-adder' element somewhere to
add the selection to the video buffer, or you need to do the drawing
manually by drawing video on a widget yourself (e.g. by handoff/fakesink).
More information about the gstreamer-devel