projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f56223
)
one extra check
author
Thomas Vander Stichele
<thomas@apestaart.org>
Tue, 10 Sep 2002 07:56:06 +0000
(07:56 +0000)
committer
Thomas Vander Stichele
<thomas@apestaart.org>
Tue, 10 Sep 2002 07:56:06 +0000
(07:56 +0000)
Original commit message from CVS:
one extra check
gst/gstpluginfeature.c
patch
|
blob
|
history
diff --git
a/gst/gstpluginfeature.c
b/gst/gstpluginfeature.c
index
19e2895
..
90c1442
100644
(file)
--- a/
gst/gstpluginfeature.c
+++ b/
gst/gstpluginfeature.c
@@
-86,9
+86,11
@@
gst_plugin_feature_ensure_loaded (GstPluginFeature *feature)
{
GstPlugin *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 plugin %s for feature", plugin->name);
+ GST_DEBUG (GST_CAT_PLUGIN_LOADING,
+ "loading plugin %s for feature", plugin->name);
if (gst_registry_load_plugin (GST_REGISTRY (plugin->manager), plugin) != GST_REGISTRY_OK)
return FALSE;