Plugin loader doesn't recognize elements provided by a plugin
I'm not actually sure where to put this, it may or may not be a bug. I am building plugins from the gstreamer-plugins-bad repo/package and have experienced some odd behaviour.
If I build like normal everything works as expected. I can run gst-launch-1.0 to run elements from the plugins in that package in test pipelines using --gst-plugin-path=PATH
. But if I rename one of the shared objects in that get build, in particular the libgstopencv.so, to something else. The plugin loaded fails to find the elements with the following warning WARNING: erroneous pipeline: no element "cvsobel"
This is important because I am hoping to write my own collection of opencv gst elements and found it easier to start with the existing package than rolling my own, however this issue not only occurs when renaming, but also if I attempt to build a similar element into a new library with it's own name. Say - cvsobel element in a library called libgstmylib.so.
I am reporting here to -
- Find out if this is intentional, or in fact a bug
- Gain understanding as to why this is occurring and how I can achieve my desired functionality