After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 391296 - [API] add gst_update_registry() to rescan registry at runtime
[API] add gst_update_registry() to rescan registry at runtime
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 161922
 
 
Reported: 2006-12-31 14:01 UTC by Tim-Philipp Müller
Modified: 2007-01-08 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adds gst_update_registry() and simple unit test (10.28 KB, patch)
2006-12-31 14:12 UTC, Tim-Philipp Müller
committed Details | Review

Description Tim-Philipp Müller 2006-12-31 14:01:32 UTC
We need API so that applications can tell GStreamer to re-read the plugin registry at runtime when new packages have been installed.

This is part of the easy-codec-installation scheme detailed in bug #161922 and the documents linked from there.
Comment 1 Tim-Philipp Müller 2006-12-31 14:12:26 UTC
Created attachment 79094 [details] [review]
adds gst_update_registry() and simple unit test
Comment 2 Tim-Philipp Müller 2007-01-08 20:31:19 UTC
Committed (API approved on IRC by Jan):

 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>

        * docs/gst/gstreamer-sections.txt:
        * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
        (init_post), (gst_deinit), (gst_update_registry):
        * gst/gst.h:
          API: add gst_update_registry() (#391296).

        * tests/check/Makefile.am:
        * tests/check/gst/gstregistry.c:
        * tests/check/gst/.cvsignore:
          Simple unit test for the above.