How to avoid warning gst_x_overlay_set_xwindow_id deprecated in python ?

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

How to avoid warning gst_x_overlay_set_xwindow_id deprecated in python ?

Nicolas Bertrand-4
Hi,
I was running an application written on python under ubuntu (10.04) linux.

I use the dev source of gstreamer ( 0.10.30.4)

When displaying on Gtk drawarea widget I have a warning :

WARN                 default xoverlay.c:354:gst_x_overlay_set_xwindow_id:<autovideosink0-actual-sink-xvimage>  Using deprecated gst_x_overlay_set_xwindow_id()


And In bus sync handler I use set_xwindow_id.

So how in python avoid this warning ?
Is there a python version of the example (GstXOverlay and Gtk+) given
in  gstxoverlay plug-in reference manual
(http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html 
).
Is that possible to write in python ?

Thks in advance

cheers
Nico


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel