GStreamer registry cache

Arnaud Vrac rawoul at gmail.com
Wed Mar 25 03:43:27 PDT 2015


On Tue, Mar 24, 2015 at 1:33 PM, Nicolas Dufresne <
nicolas.dufresne at collabora.com> wrote:

> Le mardi 24 mars 2015 à 09:47 +0100, Víctor M. Jáquez L. a écrit :
> > I guess that simply running a gst-inspect-1.0 "at factory" and always
> > setting
> > the GST_REGISTRY_UPDATE system-wide, would be the answer.
>
> Not fully sufficient, but close. A "no patch solution" is to indeed
> generate a cache file in post install scripts. Any application that
> calls gst_init() will do, gst-inspect-1.0 is a way of course. So
> something like:
>
> # Global env
> GST_REGISTRY=/usr/share/gstreamer-1.0/registry.$(uname -m).bin
> GST_REGISTRY_UPDATE=no
>
> # In post install scripts (env must be set)
> gst_inspect-1.0 > /dev/null


Is it possible to do this when cross-compiling ? If I build the same
package for the host and target, can I run host gst-inspect-1.0 on the
target plugins, and will the registry file be compatible ?

Thanks

-- 
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150325/959fa396/attachment-0001.html>


More information about the gstreamer-devel mailing list