[gst-devel] gst_init usage
msmith at fluendo.com
Wed Dec 13 10:41:30 CET 2006
On Wed, 2006-12-13 at 15:00 +0530, Kumar, Pawan wrote:
> I found that gst_init() takes lot of time to initialize.
> Is anybody tried to thin down it ?
> Any suggestions on how to do it ?
gst_init() loads the registry, and checks that it's up to date. It also
rebuilds the registry if it's out of date - that's usually the bit
that's very slow, but it doesn't normally happen (it only occurs if
you've changed your plugins).
It shouldn't be overly slow if you have an up to date registry (though
it's still loading a large XML file and parsing it, then stat()ing all
the plugins). There's a binary registry patch in bugzilla - I'm not sure
how complete it is, but that should speed things up a little bit over
using an XML parser.
More information about the gstreamer-devel