Commit graph

7 commits

Author SHA1 Message Date
Luca Ognibene
802f77d9ad gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property): Fix memory leak. g_value_set_string already does ...
Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c (gst_xml_registry_get_property):
Fix memory leak. g_value_set_string already does g_strdup.
2005-06-19 10:55:42 +00:00
Stefan Kost
f387290dea add more debug statements for element linking better docs for unlink() make category column as wide as our widest kno...
Original commit message from CVS:
add more debug statements for element linking
better docs for unlink()
make category column as wide as our widest known (internal) category
fix typo in comment
2005-06-16 08:09:43 +00:00
Ronald S. Bultje
fc3f486636 Unsigned/signed case, missing void in no-argument functions and other small fixes to compile 100% clean on GCC4 (#301...
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/autoplug/spidertest.c: (property_change_callback):
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
(gst_caps_load_thyself):
* gst/gstelement.c: (gst_element_save_thyself),
(gst_element_restore_thyself):
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
(gst_ghost_pad_save_thyself):
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
(read_enum), (load_pad_template), (load_feature), (load_plugin),
(load_paths):
* libs/gst/control/dparammanager.c: (_gst_dpman_initialize):
* libs/gst/control/unitconvert.c: (gst_unitconv_new),
(gst_unitconv_unit_spec):
* libs/gst/dataprotocol/dataprotocol.c:
(gst_dp_buffer_from_header), (gst_dp_caps_from_packet),
(gst_dp_event_from_packet):
Unsigned/signed case, missing void in no-argument functions
and other small fixes to compile 100% clean on GCC4 (#301166).
2005-04-22 09:34:31 +00:00
Ronald S. Bultje
30f318eb3e gst/elements/gsttypefindelement.c: Allow event caching while typefinding so we don't lose events.
Original commit message from CVS:
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
(push_buffer_store), (gst_type_find_element_handle_event),
(gst_type_find_element_change_state):
Allow event caching while typefinding so we don't lose events.
* gst/elements/gsttypefindelement.h:
Allow event caching while typefinding so we don't lose events.
* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
Add language-code tag.
* gst/registries/gstlibxmlregistry.c: (load_pad_template),
(load_feature), (load_paths):
Fix memleaks (#300736), based on patch from Kjartan Maraas
<kmaraas@gnome.org>.
2005-04-17 20:43:55 +00:00
Ronald S. Bultje
418c32e600 gst/registries/gstlibxmlregistry.c: Fix memleak.
Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c: (load_paths):
Fix memleak.
2005-04-13 20:54:07 +00:00
Jan Schmidt
6da18bd898 gst/registries/gstlibxmlregistry.c: g_free allocated GstPlugins, since they're not GstObjects.
Original commit message from CVS:
* gst/registries/gstlibxmlregistry.c: (load_plugin), (load_paths):
g_free allocated GstPlugins, since they're not GstObjects.
2005-03-09 14:54:54 +00:00
Ronald S. Bultje
b27e849a5f gst/registries/: Implement libxml2-based registry (allows for roughly 2x as fast startup), mostly based on earlier co...
Original commit message from CVS:
* gst/registries/Makefile.am:
* gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
(gst_xml_registry_class_init), (gst_xml_registry_init),
(gst_xml_registry_new), (gst_xml_registry_set_property),
(gst_xml_registry_get_property), (get_time), (make_dir),
(gst_xml_registry_get_perms_func),
(plugin_times_older_than_recurse), (plugin_times_older_than),
(gst_xml_registry_open_func), (gst_xml_registry_load_func),
(gst_xml_registry_save_func), (gst_xml_registry_close_func),
(add_to_char_array), (read_string), (read_uint), (read_enum),
(load_pad_template), (load_feature), (load_plugin), (load_paths),
(gst_xml_registry_load), (gst_xml_registry_load_plugin),
(gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
(gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
(gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
(gst_xml_registry_rebuild):
* gst/registries/gstlibxmlregistry.h:
Implement libxml2-based registry (allows for roughly 2x as fast
startup), mostly based on earlier code from Benjamin Otte.
2005-03-09 08:41:42 +00:00