Which gstreamer plug-in source code to reffer ?
Nicolas Dufresne
nicolas.dufresne at collabora.com
Wed Jan 13 07:39:03 PST 2016
Le mercredi 13 janvier 2016 à 06:55 -0800, ssshukla26 a écrit :
> Hi am getting this error:
>
> *(gst-plugin-scanner:31868): GStreamer-WARNING **: Failed to load
> plugin
> '/usr/local/lib/gstreamer-1.0/libgstmyencoder.so':
> /usr/local/lib/gstreamer-1.0/libgstmyencoder.so: undefined symbol:
> gst_video_encoder_get_type*
>
> but I have included the below headers , so why am getting this error
> on
> plugin initialized.
>
> #include <gst/video/video.h>
> #include <gst/video/gstvideoencoder.h>
> #include <gst/video/gstvideometa.h>
>
> Please help .
You probably forgot to add appropriate link flags. You can get the link
flags using pkg-config tool, link flags are "pkg-config --libs
gstreamer-video-1.0" and use --cflags option for the compile flags
needed.
cheers,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160113/86ab9503/attachment.sig>
More information about the gstreamer-devel
mailing list