gstreamer part of new license field in element factory
authorChristian Schaller <uraeus@gnome.org>
Wed, 18 Sep 2002 18:58:39 +0000 (18:58 +0000)
committerChristian Schaller <uraeus@gnome.org>
Wed, 18 Sep 2002 18:58:39 +0000 (18:58 +0000)
Original commit message from CVS:
gstreamer part of new license field in element factory

gst/gstelement.h
tools/gst-inspect.c

index 9b7fd2e..7d712d7 100644 (file)
@@ -294,6 +294,7 @@ typedef struct _GstElementDetails GstElementDetails;
 struct _GstElementDetails {
   gchar *longname;              /* long, english name */
   gchar *klass;                 /* type of element, as hierarchy */
+  gchar *license;              /* license element is under */
   gchar *description;           /* insights of one form or another */
   gchar *version;               /* version of the element */
   gchar *author;                /* who wrote this thing? */
index 3ac3788..2a702ea 100644 (file)
@@ -442,6 +442,7 @@ print_element_info (GstElementFactory *factory)
   g_print ("Factory Details:\n");
   g_print ("  Long name:\t%s\n",   factory->details->longname);
   g_print ("  Class:\t%s\n",       factory->details->klass);
+  g_print ("  License:\t%s\n",    factory->details->license);
   g_print ("  Description:\t%s\n", factory->details->description);
   g_print ("  Version:\t%s\n",     factory->details->version);
   g_print ("  Author(s):\t%s\n",   factory->details->author);