[gst-devel] Help!

李传峰 lichuanf at neusoft.com
Tue Dec 2 02:32:00 CET 2008


Hi, all

              Thank you for Eric Zhang’s help yesterday.

              I download gstreamer, gtk+, glib, libxml2 to config my Visual
Studio 2008. But when I run the following code I found something different
form it should be.

 

              GstElement *element;

              /* init GStreamer */

              gst_init (&argc, &argv);

              get_default_registry();

              /* create element */

              element = gst_element_factory_make("mp3parse", "mp3-parser");

              if (!element) 

              {

                            g_print ("Failed to create element of type
'fakesrc'\n");

                            return -1;

              }

              gst_object_unref (GST_OBJECT (element));

 

              The function gst_element_factory_make("mp3parse",
"mp3-parser") return null, and then I called gst_element_factory_find() ,but
return null.

              Can someone tell me why? Maybe I need to config some plugins
but I can not find anything about this from internet specifically about the
configuration of Windows environment. I need your help.

              Thank you!

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Group Ltd.,  its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081202/e093d3a2/attachment.htm>


More information about the gstreamer-devel mailing list