Hi All,
with gst-inspect-1.0 myplugin, getting Failed to load plugin gstmyplugin.so:
undefined symbol: gst_collect_pads_add_pad
please help what i am missing
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE
("video_%u",
GST_PAD_SINK,
GST_PAD_REQUEST,
GST_STATIC_CAPS ("ANY")
);
in _init() function
filter->srcpad = gst_pad_new_from_static_template (&src_factory, "src");
gst_pad_use_fixed_caps (filter->srcpad);
gst_element_add_pad (GST_ELEMENT (filter), filter->srcpad);
filter->silent = FALSE;
filter->collect = gst_collect_pads_new ();
...
in _class_init() function
...
gstelement_class->request_new_pad = gst_request_new_pad;
gstelement_class->release_pad = gst_release_pad;
gstelement_class->change_state = gst_change_state;
...
in gst_request_new_pad() function
...
pad_name = "video_0";
newpad = gst_pad_new_from_template (templ, pad_name);
mypad->collect = gst_collect_pads_add_pad (mymux->collect, newpad, sizeof
(GstmypluginPad), NULL, TRUE);
....
Thanks,
Anil
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel