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 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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel cacao.cc (7K) Download Attachment |
Over directfb?
Phong Cao <[hidden email]> wrote: >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 * > >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 >[hidden email] >http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by phngcv
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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |