Dynamically linking plugin in GStreamer on Android
Sebastian Dröge
sebastian at centricular.com
Thu Jan 23 00:26:45 PST 2014
On Mi, 2014-01-22 at 09:05 +0800, Bruce Tsai wrote:
> Thanks Sebastian.
>
> So my plan is putting my plugin in the app and build the plugin along with
> the app.
> And let my plugin link to libgstreamer_android.so.
> In this case, whether do I need to set "GST_PLUGIN_PATH" to let GStreamer
> scan my app's shared lib?
Do you want a custom plugin in a shared library, or your application .so
containing a custom GStreamer element (or plugin) among other things? If
it's just the latter you don't have to worry about GST_PLUGIN_PATH and
can just call gst_element_register() from somewhere in your code.
Nothing special needed then.
--
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140123/3906a2e3/attachment.pgp>
More information about the gstreamer-android
mailing list