From: Tim-Philipp Müller Date: Tue, 12 May 2009 19:58:32 +0000 (+0100) Subject: Initialise some more types in gst_init(), esp. the new enum types X-Git-Tag: RELEASE-0.10.24~277 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb007e5d50d78f5ebfc383ede490a8a303d97f37;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/gst.c b/gst/gst.c index 8d5e461..942bc67 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 ());