<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 24, 2015 at 1:33 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le mardi 24 mars 2015 à 09:47 +0100, Víctor M. Jáquez L. a écrit :<br>
<span class="">> I guess that simply running a gst-inspect-1.0 "at factory" and always<br>
> setting<br>
> the GST_REGISTRY_UPDATE system-wide, would be the answer.<br>
<br>
</span>Not fully sufficient, but close. A "no patch solution" is to indeed<br>
generate a cache file in post install scripts. Any application that<br>
calls gst_init() will do, gst-inspect-1.0 is a way of course. So<br>
something like:<br>
<br>
# Global env<br>
GST_REGISTRY=/usr/share/gstreamer-1.0/registry.$(uname -m).bin<br>
GST_REGISTRY_UPDATE=no<br>
<br>
# In post install scripts (env must be set)<br>
gst_inspect-1.0 > /dev/null</blockquote><div><br></div><div>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 ?</div><div><br></div><div>Thanks </div><div><br></div></div>-- <br><div class="gmail_signature">Arnaud</div>
</div></div>