Tim-Philipp Müller
ed80a5cd4b
registry: rename gst_registry_get_default() to gst_registry_get()
...
It's not really a default if there is only one that can't be changed.
Should we return a ref like e.g. g_volume_monitor_get() does?
2012-01-02 02:22:51 +00:00
René Stadler
5800757369
Revert gst_plugin_feature_get_name to const string return
...
Returning a newly allocated string makes no sense. It's unexpected for a
getter, and also this behaves differently in 0.10, so it would make future
merges harder.
Except for these two places here in core which were updated for the new
semantic, the return value is getting leaked all over the place.
2011-10-19 23:40:10 +02:00
Edward Hervey
b03b4c47af
check: Don't leak the feature name
2011-10-17 09:51:15 +02:00
Jan Schmidt
8105265087
Re-enable and fix disabled bit of the registry test
2009-10-06 19:51:44 +01:00
Jan Schmidt
51675e0c2a
registry: Add registry helper phase 1
...
Phase 1 of adding the registry scan helper
2009-10-06 19:51:42 +01:00
Tim-Philipp Müller
702fbf77e9
API: add gst_update_registry() ( #391296 ).
...
Original commit message from CVS:
* 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.
2007-01-08 20:30:12 +00:00