[Bug 689182] [pitivi] Making a frei0r ElementFactory does a lot of I/O and slows down startup
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 27 15:38:38 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=689182
GStreamer | gst-plugins-bad | 1.0.2
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
CC| |t.i.m at zen.co.uk
--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-11-27 23:38:35 UTC ---
What does this show:
$ ls -1 /usr/lib/frei0r-1/*so | wc -l
It's not entirely surprising that it takes some time, since it needs to dlopen
all those frei0r plugins. It's different for libav, there are no plugins
involved there.
> # With factory makes, used for checking for the availability of specific features
> if Gst.ElementFactory.make("frei0r-filter-scale0tilt", None) is None:
> pass
There's no need to create an element (and force loading of the gstreamer plugin
and all wrapped plugins) to test the availability of a specific feature.
Use something like
registry = gst.registry_get()
if registry.lookup_feature('frei0r-filter-scale0tilt'):
pass
or:
registry = gst.registry_get()
if registry.check_feature_version ('frei0r-filter-scale0tilt', 1, 0, 0):
pass
Looks like NOTABUG to me.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list