<div dir="ltr"><div>Hi,</div><div><br></div><div>I have added a get_type function in one gstreamer plugin:</div><div><br></div><div><div><div><div>GType ts_pmt_info_get_type (void);</div><div><br></div><div>#define TS_TYPE_PMT_INFO (ts_pmt_info_get_type ())</div>
<div>#define TS_IS_PMT_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), TS_TYPE_PMT_INFO))</div><div>#define TS_PMT_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),TS_TYPE_PMT_INFO, TsPmtInfo))</div><div><br></div><div><br></div>
<div>But when I try to inspect this plugin using gst-inspect, gstreamer fails to load this plugin due to undefined symbol.</div><div><br></div><div># gst-inspect /usr/lib/libgstts.so</div><div><br></div><div>(gst-inspect-0.10:3461): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. If you are running an uninstalled GStreamer setup, you might need to update your gst-uninstalled script so that the GST_PLUGIN_SCANNER environment variable gets set.</div>
<div><br></div><div>(gst-inspect-0.10:3461): GStreamer-WARNING **: Failed to load plugin '/usr/lib/libgstts.so': /usr/lib/libgstts.so: undefined symbol: ts_pmt_info_get_type</div><div><br></div><div>(gst-inspect-0.10:3461): GStreamer-WARNING **: Failed to load plugin '/usr/lib/libgstts.so': /usr/lib/libgstts.so: undefined symbol: ts_pmt_info_get_type</div>
<div>Could not load plugin file: Opening module failed: /usr/lib/libgstts.so: undefined symbol: ts_pmt_info_get_type</div><div><br></div></div></div></div><div><br></div><div>I have checked other get_type functions in this plugin and they have been defined in the similar way, I don't know why I am getting undefined symbol for this function.</div>
<div><br></div><div>Am I missing something? Please suggest.</div><div><br></div><div>Thanks,</div><div>Yogesh</div><div><br></div><div><div><br></div></div></div>