<div dir="ltr">Act:<div><div>I changed and I put the * .so in the sdcard and gives me the following error:</div><div>Opening module failed: can not load library: load_library (linker.cpp: 828): can not map loadable segments for "/mnt/sdcard/apk/libgstplugin.so" invalid argument</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-29 9:48 GMT+01:00 nero88 <span dir="ltr"><<a href="mailto:vazlup@gmail.com" target="_blank">vazlup@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi. I'm trying to compile a custom plugin dynamically in android. I am<br>
generating the * .so from Android.mk and seems to be created successfully.<br>
Then I added the "gst_plugin_load_file" function where I indicate the<br>
relative path where the * .so, but still does not load the plugin. Am I need<br>
something more to add?<br>
I use gstreamer 1.4.4 in ubuntu 14.04<br>
<br>
gstplugin.c<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/gstplugin.c" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/gstplugin.c</a>><br>
gstplugin.h<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/gstplugin.h" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/gstplugin.h</a>><br>
libgstplugin.so<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/libgstplugin.so" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/libgstplugin.so</a>><br>
Android.mk<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/Android.mk" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/Android.mk</a>><br>
tutorial-3.c<br>
<<a href="http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/tutorial-3.c" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/file/n4670485/tutorial-3.c</a>><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/custom-plugin-dynamically-in-android-tp4670485.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/custom-plugin-dynamically-in-android-tp4670485.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>