<div dir="ltr"><div>Thanks Sebastian.<br><br>So my plan is putting my plugin in the app and build the plugin along with the app.<br></div>And let my plugin link to libgstreamer_android.so.<br><div><div><div><div class="gmail_extra">

In this case, whether do I need to set "GST_PLUGIN_PATH" to let GStreamer scan my app's shared lib?<br></div><div class="gmail_extra"><div><div dir="ltr"><div><br></div><div>Yi-Lung (Bruce) Tsai</div></div>
</div>

<br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 4:41 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 Mo, 2014-01-20 at 18:19 +0800, Bruce Tsai wrote:<br>
> Hi Sebastian,<br>
><br>
> Thanks for your quick reply.<br>
> But I got message of no suitable plugins found.<br>
><br>
> Here is my building procedures:<br>
> 1. Develop a new plugin, based on gst-template/gst-plugin<br>
> 2. In order to build appropriate shared libraries on Android, I enter shell<br>
> environment by "cerbero -c config/cross-android.cbc shell"<br>
> 3. Then I go to gst-template/gst-plugin and build my plugin<br>
> 4. Copy so file into folder "assets/test" in my app<br>
> 5. Set environment path by setenv("GST_PLUGIN_PATH", "assets/test", 1);<br>
> 6. Use ndk-build to build the app<br>
> 7. Run app but get error messages<br>
><br>
> Hope I did not miss something.<br>
<br>
</div>That way you will link your plugin against <a href="http://libgstreamer-1.0.so" target="_blank">libgstreamer-1.0.so</a> and<br>
others. You should not do that and instead link them against<br>
libgstreamer_android.so or no GStreamer library at all.<br>
<br>
That will need some build system customisations for your plugin.<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></div></div></div></div>