Use the GST_ELEMENT_DETAILS for initialising GstElementDetails
authorJan Schmidt <thaytan@mad.scientist.com>
Sun, 2 Nov 2003 12:51:01 +0000 (12:51 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Sun, 2 Nov 2003 12:51:01 +0000 (12:51 +0000)
Original commit message from CVS:
Use the GST_ELEMENT_DETAILS for initialising GstElementDetails

ext/dv/gstdvdec.c
ext/raw1394/gstdv1394src.c

index 3e0aa95..d201e20 100644 (file)
 /* The ElementDetails structure gives a human-readable description
  * of the plugin, as well as author and version data.
  */
-static GstElementDetails dvdec_details = {
+static GstElementDetails dvdec_details = GST_ELEMENT_DETAILS (
   "DV (smpte314) decoder plugin",
   "Codec/Video/Decoder",
   "Uses libdv to decode DV video (libdv.sourceforge.net)",
   "Erik Walthinsen <omega@cse.ogi.edu>\n"
-  "Wim Taymans <wim.taymans@tvd.be>",
-};
+  "Wim Taymans <wim.taymans@tvd.be>"
+);
 
 
 /* These are the signals that this element can fire.  They are zero-
index 707fde6..3157d87 100644 (file)
@@ -40,13 +40,13 @@ enum {
   ARG_DROP_INCOMPLETE,
 };
 
-static GstElementDetails gst_dv1394src_details = {
+static GstElementDetails gst_dv1394src_details = GST_ELEMENT_DETAILS (
   "Firewire (1394) DV Source",
   "Source/Video",
   "Source for DV video data from firewire port",
   "Erik Walthinsen <omega@temple-baptist.com>\n"
-  "Daniel Fischer <dan@f3c.com>",
-};
+  "Daniel Fischer <dan@f3c.com>"
+);
 
 #if 0
 static GstPadTemplate*