g_type_class_ref (gst_parse_flags_get_type ());
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 ());
+ g_type_class_ref (gst_caps_intersect_mode_get_type ());
gst_structure_get_type ();
- _gst_value_initialize ();
- g_type_class_ref (gst_param_spec_fraction_get_type ());
- gst_caps_get_type ();
_gst_event_initialize ();
_gst_buffer_initialize ();
- _gst_buffer_list_initialize ();
_gst_message_initialize ();
+ _gst_buffer_list_initialize ();
+ _gst_value_initialize ();
+ g_type_class_ref (gst_param_spec_fraction_get_type ());
_gst_tag_initialize ();
_gst_plugin_initialize ();
g_type_class_unref (g_type_class_peek (gst_parse_error_get_type ()));
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 ()));
+ g_type_class_unref (g_type_class_peek (gst_caps_intersect_mode_get_type ()));
gst_deinitialized = TRUE;
GST_INFO ("deinitialized GStreamer");
GstCaps *dest;
GstStructure *istruct;
- g_return_val_if_fail (GST_IS_CAPS (caps1), NULL);
- g_return_val_if_fail (GST_IS_CAPS (caps2), NULL);
-
/* caps are exactly the same pointers, just copy one caps */
if (G_UNLIKELY (caps1 == caps2))
- return gst_caps_copy (caps1);
+ return _gst_caps_copy (caps1);
/* empty caps on either side, return empty */
if (G_UNLIKELY (CAPS_IS_EMPTY (caps1) || CAPS_IS_EMPTY (caps2)))