Dynamically linking plugin in GStreamer on Android

Bruce Tsai wagamama.tsai at gmail.com
Thu Jan 23 00:39:02 PST 2014


Thanks!

I put my plugin in application shared lib but do not directly call
gst_element_register().
Instead, I set GST_PLUGIN_PATH and it works.
I can create my plugin element by using gst_element_factory_make().




Yi-Lung (Bruce) Tsai


On Thu, Jan 23, 2014 at 4:26 PM, Sebastian Dröge
<sebastian at centricular.com>wrote:

> 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
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140123/b3e98a9e/attachment.html>


More information about the gstreamer-android mailing list