Plugin source boilerplate not registering correctly
Tim Müller
tim at centricular.com
Fri Jan 10 09:56:40 UTC 2020
On Thu, 2020-01-09 at 17:33 -0800, Frederic Turmel wrote:
Hi,
> Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstadv.so':
> /usr/local/lib/gstreamer-1.0/libgstadv.so: undefined symbol:
> gst_audio_src_get_type
>
> At this point I'm just trying to load an empty audio source.
>
> It is likely something stupid... What I'm missing?
> I have placed the code here for convenience if somebody can highlight
> what's wrong. https://github.com/FredT2020/gsPlay
This is probably not a problem with your code, but with your build
setup.
You need to link against libgstaudio-1.0, so add gstreamer-audio-1.0 to
your pkg-config / dependencies list.
(You didn't post your build files, so can only give generic guidance
here, details will depend on the build system used of course).
Cheers
Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list