error: ‘gst_x_overlay_set_window_handle’ was not declared in this scope

Stefan Kost ensonic at hora-obscura.de
Mon May 23 06:43:24 PDT 2011


Am 21.05.2011 08:09, schrieb Phong Cao:
> Hi guys, 
> 
> I am trying to write a small media player using GTK+ and GStreamer and currently
> using the XOverlay Interface to embed the video in a GtkDrawing Area INSIDE the
> mainwindow. 
> 
> The program was compiled using this command: 
> *g++ /home/phongcao/cacao.cc -o /home/phongcao/cacao `pkg-config --cflags --libs
> gtk+-2.0 gstreamer-0.10 gstreamer-plugins-base-0.10 gstreamer-interfaces-0.10` *
> 
> However, after compiling the program, I got this error: 
> */home/phongcao/cacao.cc:61: error: ‘gst_x_overlay_set_window_handle’ was not
> declared in this scope *


Do you have new enough gstreamer installed. This API was added in 0.10.31 as a
replacement for gst_x_overlay_set_window_id. You could add an ifdef using the
GST_CHECK_VERSION() macro.

Stefan
> 
> I wonder if this is GStreamer's error or my fault when writing this program. *I
> have attached the source code of the program with this message. If possible I
> hope you guys can check the code out and tell me the errors, since I am pretty
> new to GStreamer and not sure how to use the XOverlay Interface correctly.* 
> 
> Thank you for helping me with this problem! I have spent almost 3 days
> scratching over my head for this. 
> Please tell me if you need any additional information... Thank you!! 
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list