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. --------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi, gstreamer-devel:
You can first run the command: `gst-inspect mp3parse' to check whether this elements exist. If it exists, re-run your program with debug option open: --gst-debug=3. I think you can figure out the problem in debug infos. Eric Zhang 2008/12/2 李传峰 <[hidden email]>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |