mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Small cleanup
Original commit message from CVS: Small cleanup
This commit is contained in:
parent
07e409f402
commit
1c324a59f0
1 changed files with 6 additions and 2 deletions
|
@ -84,9 +84,13 @@ gst_plugin_feature_init (GstPluginFeature *feature)
|
|||
gboolean
|
||||
gst_plugin_feature_ensure_loaded (GstPluginFeature *feature)
|
||||
{
|
||||
GstPlugin *plugin = (GstPlugin *) (feature->manager);
|
||||
GstPlugin *plugin;
|
||||
|
||||
g_return_val_if_fail (feature != NULL, FALSE);
|
||||
g_return_val_if_fail (GST_IS_PLUGIN_FEATURE (feature), FALSE);
|
||||
|
||||
plugin = (GstPlugin *) (feature->manager);
|
||||
|
||||
g_assert (feature);
|
||||
if (plugin && !gst_plugin_is_loaded (plugin)) {
|
||||
if (GST_IS_REGISTRY (plugin->manager)) {
|
||||
GST_DEBUG (GST_CAT_PLUGIN_LOADING,
|
||||
|
|
Loading…
Reference in a new issue