seed r70 - in trunk: . examples



Author: racarr
Date: Mon Nov  3 05:29:34 2008
New Revision: 70
URL: http://svn.gnome.org/viewvc/seed?rev=70&view=rev

Log:
Apparently gst_init was never removed from main.c from the original test 
program.


Modified:
   trunk/examples/n-oscillator.js
   trunk/main.c

Modified: trunk/examples/n-oscillator.js
==============================================================================
--- trunk/examples/n-oscillator.js	(original)
+++ trunk/examples/n-oscillator.js	Mon Nov  3 05:29:34 2008
@@ -2,6 +2,7 @@
 Seed.import_namespace("Gtk","2.0");
 Seed.import_namespace("Gst","0.10");
 
+Gst.init(null, null);
 Gtk.init(null, null);
 
 function oscillator(freq)

Modified: trunk/main.c
==============================================================================
--- trunk/main.c	(original)
+++ trunk/main.c	Mon Nov  3 05:29:34 2008
@@ -75,13 +75,9 @@
 
 int main(int argc, char ** argv)
 {	
-	// TODO: GStreamer doesn't like to be initialized late. I don't remember
-	// how to fix this right now.
-
 	// Apparently our name for glib logging gets set in g*_init. can we set
 	// that ourselves so that when we do on-the-fly init, we don't lose that?
 	
-	gst_init(&argc, &argv);	
 	seed_init(&argc, &argv);
 
 	if (!g_irepository_require(g_irepository_get_default(), 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]