mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-01 20:30:41 +00:00
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:
parent
f2c7e1536b
commit
0965b7202c
|
@ -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>
|
2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
|
* gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
|
||||||
|
|
11
gst/gst.c
11
gst/gst.c
|
@ -1242,6 +1242,17 @@ gst_deinit (void)
|
||||||
|
|
||||||
_priv_gst_registry_cleanup ();
|
_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_initialized = FALSE;
|
||||||
GST_INFO ("deinitialized GStreamer");
|
GST_INFO ("deinitialized GStreamer");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue