X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgsttypefind.c;h=5c2b0d15cf934746d33cf8f27d0f8f7962ed7c85;hb=ce4698487e2650ee9b365d6cf41a254483349bc0;hp=e0ca96fd9dac6d4a4dbc8b3f983e80d50883e72b;hpb=bca04b06aa9ec7d425342b7700be4e15f8c86775;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gsttypefind.c b/gst/gsttypefind.c index e0ca96f..5c2b0d1 100644 --- a/gst/gsttypefind.c +++ b/gst/gsttypefind.c @@ -21,6 +21,7 @@ /** * SECTION:gsttypefind + * @title: GstTypefind * @short_description: Stream type detection * * The following functions allow you to detect the media type of an unknown @@ -70,7 +71,7 @@ gst_type_find_register (GstPlugin * plugin, const gchar * name, guint rank, GST_INFO ("registering typefind function for %s", name); - factory = g_object_newv (GST_TYPE_TYPE_FIND_FACTORY, 0, NULL); + factory = g_object_new (GST_TYPE_TYPE_FIND_FACTORY, NULL); GST_DEBUG_OBJECT (factory, "using new typefind factory for %s", name); gst_plugin_feature_set_name (GST_PLUGIN_FEATURE_CAST (factory), name);