How to set up GST_PLUGIN_PATH for plugin?

Hi All,

We can successfully build gstreamer1.0 and related plugins.
The plugin location is

root@OpenWrt:~# ls /usr/lib/gstreamer-1.0/
gst-plugin-scanner       libgstaudioparsers.so    libgstdeinterlace.so     libgsticydemux.so        libgstmpg123.so          libgstreplaygain.so      libgstspeex.so           libgstvideotestsrc.so
libgstalaw.so            libgstaudioresample.so   libgstdtmf.so            libgstid3demux.so        libgstmulaw.so           libgstrtp.so             libgsttcp.so             libgstvpx.so
libgstalpha.so           libgstaudiotestsrc.so    libgsteffectv.so         libgstimagefreeze.so     libgstmultifile.so       libgstrtpmanager.so      libgstudp.so             libgstwavenc.so
libgstalphacolor.so      libgstauparse.so         libgstequalizer.so       libgstinterleave.so      libgstmultipart.so       libgstrtsp.so            libgstvideo4linux2.so    libgstwavparse.so
libgstalsa.so            libgstautodetect.so      libgstflac.so            libgstisomp4.so          libgstnavigationtest.so  libgstshapewipe.so       libgstvideobox.so
libgstapetag.so          libgstavi.so             libgstflv.so             libgstjpeg.so            libgstoss4.so            libgstshout2.so          libgstvideocrop.so
libgstapp.so             libgstcoreelements.so    libgstflxdec.so          libgstlame.so            libgstossaudio.so        libgstsmpte.so           libgstvideofilter.so
libgstaudioconvert.so    libgstcutter.so          libgstgoom.so            libgstlevel.so           libgstplayback.so        libgstsoup.so            libgstvideomixer.so
libgstaudiofx.so         libgstdebug.so           libgstgoom2k1.so         libgstmatroska.so        libgstpng.so             libgstspectrum.so        libgstvideoscale.so

When I runned gst-inspect-1.0, and always got

staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 1 plugin, 2 features

Even I set GST_PLUGIN_SYSTEM_PATH/GST_PLUGIN_SYSTEM_PATH_1_0 and GST_PLUGIN_PATH/GST_PLUGIN_PATH_1_0 to /usr/lib/gstreamer-1.0, still get same result.
Does anyone can help me out?
I double check the source code of gst-inspect.c, it will check the variables I mentioned above.
I try it, still not work. Please help. Thanks.

I found the Makefile for gstreamer1 to disable -Dregistry=false, does anyone know why? Thank.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.