Gstreamer on UBUNTU

mailkamlesh kamlesh.mishra at lnties.com
Mon Sep 12 02:07:58 PDT 2011


Hi
I installed gstreamer on my ubuntu 11.04 system using synaptic package
manager
I have also created a basic code on gstreamer

[code]
               GstElement* gstelement;
               const gchar *nano_str;
		guint major, minor, micro, nano;
		gst_init (&argc, &argv);
		gst_version (&major, &minor, &micro, &nano);
		gstelement = gst_element_factory_make("videosrc"," ");
		if (nano == 1)
		nano_str = "(CVS)";
		else if (nano == 2)
		nano_str = "(Prerelease)";
		else
		nano_str = "";
		printf ("This program is linked against GStreamer %d , %d , %d ,
%s\n",major, minor, micro, nano_str);
		return 0;
[/code]

The code runs perfectly fine , but when i debug the code , i get the value
of 
gstelement as 0x000000.

This means that my GstElement is not created. Any idea on what could be the
issue

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-on-UBUNTU-tp3806851p3806851.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list