[gstreamer-bugs] [Bug 359777] Make gst-inspect's default output more precise when it encounters a problem with a plug-in

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Oct 4 21:45:59 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=359777

  GStreamer | gstreamer (core) | Ver: 0.10.9


René Stadler changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at renestadler.de




------- Comment #1 from René Stadler  2006-10-05 04:45 UTC -------
This is not really solvable.  gst_plugin_load_file indeed gives a detailed
error... but look at who is the caller here, it is performed by the (implicit)
update of the registry.  Basically this is what happens: All files *.so on the
search path are tried to be loaded as a module; if it succeeds on loading a
file and the module is actually a compatible gstreamer plugin, obtain
information about all contained element factories and other features and store
the data in the registry.

Errors occurring during these steps are intentionally ignored at this point and
just mentioned in the debug output.  This is correct, not all files on the
search path strictly need to be compatible modules.  You might think that since
you are requesting the videoscale element explicitly, it should treat failure
for the videoscale plugin with special care or even try to gst_plugin_load_file
it manually in order to get the correct error, but this approach is
incompatible with the current design: It is considered an implementation detail
in which plugin a particular element resides.  If you request the element
"textoverlay", there is no way to know that it is provided by the plugin
"pango" until you load the module "libpango.so" and find the element there. 
Likewise, if you cannot load "gstvideoscale.so" there is no way to know that it
should contain the element "videoscale" you asked for.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list