mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gst: ref/unref new enum type in gst_init/deinit()
This commit is contained in:
parent
5d96658874
commit
1734915850
1 changed files with 2 additions and 0 deletions
|
@ -669,6 +669,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
|||
g_type_class_ref (gst_lock_flags_get_type ());
|
||||
g_type_class_ref (gst_allocator_flags_get_type ());
|
||||
g_type_class_ref (gst_stream_flags_get_type ());
|
||||
g_type_class_ref (gst_segment_result_get_type ());
|
||||
|
||||
_priv_gst_event_initialize ();
|
||||
_priv_gst_buffer_initialize ();
|
||||
|
@ -1067,6 +1068,7 @@ gst_deinit (void)
|
|||
g_type_class_unref (g_type_class_peek (gst_allocator_flags_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_stream_flags_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_debug_color_mode_get_type ()));
|
||||
g_type_class_unref (g_type_class_peek (gst_segment_result_get_type ()));
|
||||
|
||||
gst_deinitialized = TRUE;
|
||||
GST_INFO ("deinitialized GStreamer");
|
||||
|
|
Loading…
Reference in a new issue