registry: Add plugins to the registry we are loading and not default one
authorThibault Saunier <tsaunier@gnome.org>
Tue, 21 Jul 2015 11:35:33 +0000 (13:35 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 5 Aug 2015 21:32:00 +0000 (17:32 -0400)
commit749810b238396c608c6992d3fb6745f892df4541
treebc909f9dcef81faf775268b61cfd52a17cacf467
parente24e902d2faea6cfa59ea5152ad65939c6f97f62
registry: Add plugins to the registry we are loading and not default one

When running gst_registry_scan_plugin_file we were losing the
information about the registry being loaded and ended up adding the
plugin to the default registry which was not correct.

https://bugzilla.gnome.org/show_bug.cgi?id=752662
gst/gst_private.h
gst/gstplugin.c
gst/gstregistry.c