mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gsttypefind: avoid one more run-time type check
This commit is contained in:
parent
f9e3b72ff6
commit
5790c33fe4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue