Hi. I'm the reason why GstElementDetails uses a macro now
authorBenjamin Otte <otte@gnome.org>
Sun, 2 Nov 2003 22:04:57 +0000 (22:04 +0000)
committerBenjamin Otte <otte@gnome.org>
Sun, 2 Nov 2003 22:04:57 +0000 (22:04 +0000)
Original commit message from CVS:
Hi. I'm the reason why GstElementDetails uses a macro now

gst/mpeg1videoparse/gstmp1videoparse.c

index cbaef24..f34db3f 100644 (file)
 #define SEQ_END_CODE 0x000001b7
 
 /* elementfactory information */
-static GstElementDetails mpeg1videoparse_details = {
+static GstElementDetails mpeg1videoparse_details = GST_ELEMENT_DETAILS (
   "MPEG 1 Video Parser",
   "Codec/Parser",
-  "Parses and frames MPEG 1 video streams, provides seek"
+  "Parses and frames MPEG 1 video streams, provides seek",
   "Wim Taymans <wim.taymans@chello.be>"
-};
+);
 
 GST_PAD_TEMPLATE_FACTORY (src_factory,
   "src",