gst/gstregistrybinary.c: If an element supports the Uri interface, returns a valid...
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 16 Apr 2008 13:16:44 +0000 (13:16 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 16 Apr 2008 13:16:44 +0000 (13:16 +0000)
commitdc71d29b62b057d2fa82cb6fb007d8f930b9db3f
tree590bb26c1b22b51effe1468a71bec5f90c196535
parenta9a7cf2c7974e5db1201e512aa39a39d81da283a
gst/gstregistrybinary.c: If an element supports the Uri interface, returns a valid pointer to the supported URI proto...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
If an element supports the Uri interface, returns a valid pointer
to the supported URI protocols but this pointer contains nothing
don't try to save that as it will corrupt the registry.
Don't unref the plugin if we added it to the registry already but
fail to load a feature as gst_registry_add_plugin() takes ownership
of the plugin.
Improve debugging a bit.
ChangeLog
gst/gstregistrybinary.c