[gst-devel] Bug reports / 0.7.3 problem with ghostpads

Christophe Fergeau teuf at gnome.org
Sat Jan 10 01:46:00 CET 2004


Le sam 10/01/2004 à 00:52, Thomas Comiotto a écrit :
> Hello, 
> 
> Is this list the right place to submit (possible) bugreports? -- or is there a 
> bugtracker available somewhere? Nothing mentioned on the website. 

You can file bug reports against GStreamer on bugzilla.gnome.org

Cheers, 

Christophe

> 
> However, the following simple code snippet compiles and runs just fine on 
> 0.6.4, 0.7.3 cancels operation with some 'filesrc has no group' errors after 
> successful compilation. Further on the aggregator / pingpong example seems to 
> be broken too - same goes for code including the switch-plugin. 
> 
> 
> best regards, 
> thomas
> 
> 
> 
> #include <gst/gst.h>
> 
> int
> main (int argc, char *argv[])
> {
> 	GstElement *pipeline;
> 	GstElement *bin;
> 	GstElement *filesrc;
> 	GstElement *decoder;
> 	GstElement *audiosink;
> 
> 	gst_init (&argc, &argv);
> 
> 	if (argc != 2) {
> 		g_print ("usage: %s 3 <mp3 filename's>\n", argv[0]);
> 	}
> 	
> 	
> 	pipeline = gst_pipeline_new ("pipeline");
> 	bin = gst_bin_new ("bin");
> 	audiosink = gst_element_factory_make ("osssink", "audiosink");
> 	filesrc = gst_element_factory_make("filesrc", "filesrc");
> 	decoder = gst_element_factory_make ("mad", "decoder");
> 	
> 	g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);
> 	
> 	gst_bin_add (GST_BIN (pipeline), filesrc);
> 	gst_bin_add (GST_BIN (pipeline), audiosink);
> 	
> 	gst_bin_add (GST_BIN (bin), decoder);	
> 	gst_element_add_ghost_pad (bin, gst_element_get_pad (decoder, "src"), "src");
> 	gst_element_add_ghost_pad (bin, gst_element_get_pad (decoder, "sink"), 
> "sink");
> 
> 	gst_element_link_pads (filesrc, "src", bin, "sink");
> 	gst_element_link_pads (bin, "src", audiosink, "sink");
> 	
> 	gst_bin_add (GST_BIN (pipeline), bin);
> 	
> 	gst_element_set_state(pipeline, GST_STATE_PLAYING);
> 
> 	while (gst_bin_iterate (GST_BIN (pipeline)));
> 
> 	exit (0);
> 
> }
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20040110/fd30f0c1/attachment.pgp>


More information about the gstreamer-devel mailing list