2004-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
+ * configure.ac:
+ fix GST_ORIGIN
+ set GST_PACKAGE to source, and distinguish between release and other
+ * tools/gst-inspect.c:
+ print out plugin an element factory is part of so we see this info
+
+2004-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
+
* docs/gst/gstreamer-sections.txt:
* docs/gst/tmpl/gstbuffer.sgml:
* docs/gst/tmpl/gstschedulerfactory.sgml:
dnl set license and copyright notice
AC_DEFINE(GST_LICENSE, "LGPL", [GStreamer license])
+
dnl package name in plugins
AC_ARG_WITH(package-name,
AC_HELP_STRING([--with-package-name],[specify package name to use in plugins]),
no) AC_MSG_ERROR(bad value ${withval} for --with-package-name) ;;
*) GST_PACKAGE="${withval}" ;;
esac],
-[GST_PACKAGE="GStreamer"]) dnl Default value
+[
+if test "x$GST_CVS" = "xyes"
+then
+ dnl nano >= 1
+ GST_PACKAGE="GStreamer CVS/prerelease"
+else
+ GST_PACKAGE="GStreamer source release"
+fi
+]
+) dnl Default value
AC_MSG_NOTICE(Using $GST_PACKAGE as package name)
AC_DEFINE_UNQUOTED(GST_PACKAGE, "$GST_PACKAGE", [package name in plugins])
+
dnl package origin URL
AC_ARG_WITH(package-origin,
AC_HELP_STRING([--with-package-origin],[specify package origin URL to use in plugins]),
no) AC_MSG_ERROR(bad value ${withval} for --with-package-origin) ;;
*) GST_ORIGIN="${withval}" ;;
esac],
-[GST_ORIGIN="http://gstreamer.net/"]) dnl Default value
+[GST_ORIGIN="http://gstreamer.freedesktop.org/"]) dnl Default value
AC_MSG_NOTICE(Using $GST_ORIGIN as package origin)
AC_DEFINE_UNQUOTED(GST_ORIGIN, "$GST_ORIGIN", [package origin])
get_rank_name (GST_PLUGIN_FEATURE (factory)->rank),
GST_PLUGIN_FEATURE (factory)->rank);
n_print ("\n");
-
}
static void
static void
print_plugin_info (GstPlugin * plugin)
{
- GList *features;
- gint num_features = 0;
- gint num_elements = 0;
- gint num_types = 0;
- gint num_schedulers = 0;
- gint num_indexes = 0;
- gint num_other = 0;
-
n_print ("Plugin Details:\n");
n_print (" Name:\t\t%s\n", plugin->desc.name);
n_print (" Description:\t%s\n", plugin->desc.description);
n_print (" Package:\t%s\n", plugin->desc.package);
n_print (" Origin URL:\t%s\n", plugin->desc.origin);
n_print ("\n");
+}
+
+static void
+print_plugin_features (GstPlugin * plugin)
+{
+ GList *features;
+ gint num_features = 0;
+ gint num_elements = 0;
+ gint num_types = 0;
+ gint num_schedulers = 0;
+ gint num_indexes = 0;
+ gint num_other = 0;
features = gst_plugin_get_feature_list (plugin);
_name = "";
print_factory_details_info (factory);
+ if (GST_PLUGIN_FEATURE (factory)->manager) {
+ GstPlugin *plugin = (GstPlugin *) GST_PLUGIN_FEATURE (factory)->manager;
+
+ print_plugin_info (plugin);
+ }
print_hierarchy (G_OBJECT_TYPE (element), 0, &maxlevel);
/* if there is such a plugin, print out info */
if (plugin) {
print_plugin_info (plugin);
+ print_plugin_features (plugin);
} else {
g_print ("No such element or plugin '%s'\n", arg);
return -1;