[Bug 724352] Plugin should not register if underlaying library not available
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jun 3 16:05:03 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=724352
Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #4 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Last hackfest I talked with ndufresne about the registry cache and he told me
about some dependency handling for the cache.
Just today I look for it and found this beauty: gst_plugin_add_dependency ()
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPlugin.html#gst-plugin-add-dependency
With it we can invalidate the registry cache if a file, a directory or a envvar
changes.
Therefore, we could monitor the diretories /dev, /usr/lib/dri, and the LIBVA_*
envvars to invalidate the registry cache if the change, thus we could register
what libva reports as available, and not registering all as we currently do. In
this way we could reduce the number bugs raised because of the limitation of
the hardware/driver of the user, or not register anything if the introspection
fails.
--
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