GSt gnome-vfs issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

GSt gnome-vfs issue

Emma zhao
Hi, All
 
I have been struggleing with a strange gst gnome-vfs problem for a week. I am hoping someone here can help me out. 
 
Here is what I experienced:
 
I upgraded my gstreamer plugins to the latest stable version  on Centos 5  by compiling from the source.  ( I updated glib-2.0 from src and compiled gnome-vfs 2.24 from src and installed too)
 
After that  I started a pipeline
./gst-launch -v --gst-debug=*:5 gnomevfssrc location=http://192.168.1.6/b.flv ! decodebin name=decoder decoder. ! queue ! audioconvert ! audioresample ! alsasink decoder. ! ffmpegcolorspace ! ximagesink
 
it worked perfectly.
 
But when I tried to start a pipeline in my application, wherein I created a gnomevfssrc by calling gst_element_factory_make(..), added into a bin and then link, the application always exited for no reason. 
 
the same code works fine in old version gstreamer. it definitly because of gnomevfssrc because if I use other sources, the pipeline works.  I managed to find out that it seems related to libhttp.so.  Because when I use gst-launch to launch a pipeline, the program knows that it need to load libhttp.so. but in my application, it does not know that it needs to load libhttp.so. therefore libhttp.so never got loaded into memory. I guess that 's why it always exit.
 
Does anyone know how can I let gnomevfssrc know that it need to load libhttp.so?
Or if you think I am wrong about this, what could be wrong?   

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel