gst/gst.c: Clean up on deinit (not the external ones though, doesn't seem to be needed for some reason).

Original commit message from CVS:
* gst/gst.c: (gst_deinit):
Clean up on deinit (not the external ones though, doesn't seem to be
needed for some reason).
This commit is contained in:
Tim-Philipp Müller 2007-11-02 16:27:56 +00:00
parent f2c7e1536b
commit 0965b7202c
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
* gst/gst.c: (gst_deinit):
Clean up on deinit (not the external ones though, doesn't seem to be
needed for some reason).
2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):

View file

@ -1242,6 +1242,17 @@ gst_deinit (void)
_priv_gst_registry_cleanup ();
g_type_class_unref (g_type_class_peek (gst_object_get_type ()));
g_type_class_unref (g_type_class_peek (gst_pad_get_type ()));
g_type_class_unref (g_type_class_peek (gst_element_factory_get_type ()));
g_type_class_unref (g_type_class_peek (gst_element_get_type ()));
g_type_class_unref (g_type_class_peek (gst_type_find_factory_get_type ()));
g_type_class_unref (g_type_class_peek (gst_bin_get_type ()));
#ifndef GST_DISABLE_INDEX
g_type_class_unref (g_type_class_peek (gst_index_factory_get_type ()));
#endif /* GST_DISABLE_INDEX */
g_type_class_unref (g_type_class_peek (gst_param_spec_fraction_get_type ()));
gst_initialized = FALSE;
GST_INFO ("deinitialized GStreamer");
}