mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
gst: add class init
This commit is contained in:
parent
beac9c4a95
commit
100a3799bb
1 changed files with 4 additions and 0 deletions
|
@ -752,6 +752,8 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
|||
g_type_class_ref (gst_search_mode_get_type ());
|
||||
g_type_class_ref (gst_progress_type_get_type ());
|
||||
g_type_class_ref (gst_buffer_pool_flags_get_type ());
|
||||
g_type_class_ref (gst_memory_flags_get_type ());
|
||||
g_type_class_ref (gst_map_flags_get_type ());
|
||||
|
||||
gst_structure_get_type ();
|
||||
_gst_event_initialize ();
|
||||
|
@ -1117,6 +1119,8 @@ gst_deinit (void)
|
|||
g_type_class_unref (g_type_class_peek (gst_param_spec_fraction_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_progress_type_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_buffer_pool_flags_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_memory_flags_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_map_flags_get_type ()));
|
||||
|
||||
gst_deinitialized = TRUE;
|
||||
GST_INFO ("deinitialized GStreamer");
|
||||
|
|
Loading…
Reference in a new issue