gsttypefind: avoid one more run-time type check

This commit is contained in:
Tim-Philipp Müller 2009-11-02 08:48:51 +00:00
parent f9e3b72ff6
commit 5790c33fe4

View file

@ -104,7 +104,7 @@ gst_type_find_register (GstPlugin * plugin, const gchar * name, guint rank,
GST_PLUGIN_FEATURE_CAST (factory)->loaded = TRUE; GST_PLUGIN_FEATURE_CAST (factory)->loaded = TRUE;
gst_registry_add_feature (gst_registry_get_default (), gst_registry_add_feature (gst_registry_get_default (),
GST_PLUGIN_FEATURE (factory)); GST_PLUGIN_FEATURE_CAST (factory));
return TRUE; return TRUE;
} }