gnomemm r1805 - in gstreamermm/trunk: . examples/media_player_gtkmm
- From: jaalburqu svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1805 - in gstreamermm/trunk: . examples/media_player_gtkmm
- Date: Wed, 19 Nov 2008 19:58:46 +0000 (UTC)
Author: jaalburqu
Date: Wed Nov 19 19:58:46 2008
New Revision: 1805
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1805&view=rev
Log:
2008-11-19 Josà Alburquerque <jaalburqu svn gnome org>
* examples/media_player_gtkmm/main.cc: Modify example to use
GstBase::init() instead of Gst::init() to show that GstBase::init()
can be used instead of Gst::init() in some cases. I'm not sure how
awkward it will be for developers, but I think it's workable enough so
that both distributors and developers feel good about gstreamermm (see
yesterday's ChangeLog entries and bug references for context).
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/examples/media_player_gtkmm/main.cc
Modified: gstreamermm/trunk/examples/media_player_gtkmm/main.cc
==============================================================================
--- gstreamermm/trunk/examples/media_player_gtkmm/main.cc (original)
+++ gstreamermm/trunk/examples/media_player_gtkmm/main.cc Wed Nov 19 19:58:46 2008
@@ -20,7 +20,7 @@
*/
#include <gtkmm/main.h>
-#include <gstreamermm/init.h>
+#include <gstreamerbasemm/init.h>
#include <gstreamermm/element.h>
#include <gstreamermm/elementfactory.h>
#include <gstreamermm/pad.h>
@@ -32,7 +32,10 @@
main (int argc, char *argv[])
{
Gtk::Main kit(argc, argv);
- Gst::init(argc, argv);
+
+ // Use GstBase::init() instead of Gst::init() because some of its API
+ // (i.e. GstBase::XOverlay in player_window.cc) is used:
+ GstBase::init(argc, argv);
// Create the elements:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]