gst交叉编译的问题
当我在mips交叉编译环境下编译好了gst-plugin插件之后,然后拷贝到相应的位置之后,用gst_plugin_load_file()函数调用,但是当我执行的时候,用GST_DEBUG log出来的数据错误如下:
0:00:05.265398000 1607 0x4c8100 WARN GST_PLUGIN_LOADING gstplugin.c:769:gst_plugin_load_file: module_open failed: File not found
(rygel:1607): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Opening module failed: File not found
(rygel:1607): GStreamer-WARNING **: Failed to load plugin '/mnt/gstreamer-0.10/libgstflac.so': File not found
0:00:05.285028000 1607 0x4c8100 WARN GST_PLUGIN_LOADING gstplugin.c:769:gst_plugin_load_file: module_open failed: File not found
(rygel:1607): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Opening module failed: File not found
(rygel:1607): GStreamer-WARNING **: Failed to load plugin '/mnt/gstreamer-0.10/libgstfaad.so': File not found
这是为什么呢,一开始我怀疑是那些插件都是在gst-plugin的ext目录下得原因,但是我编译源码包ext目录下自带的插件就可以load,然后我又想是不是需要下载支持库的插件会出现这种问题,但是我下载libmad,然后编译mad的时候,也可以load成功。
我真是无语了,求大侠解答。