From fb007e5d50d78f5ebfc383ede490a8a303d97f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 12 May 2009 20:58:32 +0100 Subject: [PATCH] Initialise some more types in gst_init(), esp. the new enum types Possibly fixes GObject class creation/unref race conditions when creating the last-message string in fakesink for events with structures that have fields with these enum types. --- gst/gst.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/gst.c b/gst/gst.c index 8d5e4618c5..942bc67750 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -1011,6 +1011,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data, g_type_class_ref (gst_clock_return_get_type ()); g_type_class_ref (gst_clock_entry_type_get_type ()); g_type_class_ref (gst_clock_flags_get_type ()); + g_type_class_ref (gst_clock_type_get_type ()); g_type_class_ref (gst_debug_graph_details_get_type ()); g_type_class_ref (gst_state_get_type ()); g_type_class_ref (gst_state_change_return_get_type ()); @@ -1051,8 +1052,11 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data, g_type_class_ref (gst_rank_get_type ()); g_type_class_ref (gst_query_type_get_type ()); g_type_class_ref (gst_buffering_mode_get_type ()); + g_type_class_ref (gst_stream_status_type_get_type ()); + g_type_class_ref (gst_structure_change_type_get_type ()); g_type_class_ref (gst_tag_merge_mode_get_type ()); g_type_class_ref (gst_tag_flag_get_type ()); + g_type_class_ref (gst_task_pool_get_type ()); g_type_class_ref (gst_task_state_get_type ()); g_type_class_ref (gst_alloc_trace_flags_get_type ()); g_type_class_ref (gst_type_find_probability_get_type ());