<div dir="ltr"><div><div><div>Thanks!<br><br></div>I put my plugin in application shared lib but do not directly call gst_element_register().<br></div>Instead, I set GST_PLUGIN_PATH and it works.<br></div>I can create my plugin element by using gst_element_factory_make().<br>

<br><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div><div>Yi-Lung (Bruce) Tsai</div></div></div>
<br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 4:26 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Mi, 2014-01-22 at 09:05 +0800, Bruce Tsai wrote:<br>
> Thanks Sebastian.<br>
><br>
> So my plan is putting my plugin in the app and build the plugin along with<br>
> the app.<br>
> And let my plugin link to libgstreamer_android.so.<br>
> In this case, whether do I need to set "GST_PLUGIN_PATH" to let GStreamer<br>
> scan my app's shared lib?<br>
<br>
</div>Do you want a custom plugin in a shared library, or your application .so<br>
containing a custom GStreamer element (or plugin) among other things? If<br>
it's just the latter you don't have to worry about GST_PLUGIN_PATH and<br>
can just call gst_element_register() from somewhere in your code.<br>
Nothing special needed then.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</div></div><br>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></blockquote></div><br></div>