tools/: URL_HANDLER is not a plugin feature we can search for in the registry.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_features):
* tools/gst-xmlinspect.c: (main):
URL_HANDLER is not a plugin feature we can search for in
the registry.
This commit is contained in:
Jan Schmidt 2006-01-20 09:12:10 +00:00
parent b5c4ad28c1
commit 134605648c
3 changed files with 7 additions and 16 deletions

View file

@ -1,3 +1,10 @@
2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
* tools/gst-inspect.c: (print_element_features):
* tools/gst-xmlinspect.c: (main):
URL_HANDLER is not a plugin feature we can search for in
the registry.
2006-01-19 Edward Hervey <edward@fluendo.com>
* gst/gstelement.c: (gst_element_pads_activate):

View file

@ -1031,14 +1031,6 @@ print_element_features (const gchar * element_name)
n_print ("%s: a typefind function\n", element_name);
return 0;
}
#ifndef GST_DISABLE_URI
feature = gst_default_registry_find_feature (element_name,
GST_TYPE_URI_HANDLER);
if (feature) {
n_print ("%s: an uri handler\n", element_name);
return 0;
}
#endif
return -1;
}

View file

@ -825,14 +825,6 @@ main (int argc, char *argv[])
g_print ("%s: a type find function\n", argv[1]);
return 0;
}
#ifndef GST_DISABLE_URI
feature = gst_default_registry_find_feature (argv[1],
GST_TYPE_URI_HANDLER);
if (feature) {
g_print ("%s: an uri handler\n", argv[1]);
return 0;
}
#endif
}
} else {
/* strip the .so */