diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-02 22:11:30 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-02 22:11:30 +0000 |
commit | 26f632e6309e9796d08ada0b490c0289913d5a98 (patch) | |
tree | 39006dd9df666c6033c4eb55288693e41cd921a4 /gst/rtjpeg/gstrtjpegdec.c | |
parent | 7d62325204cf7a6d96ab5a4e7c933b7505e84a3a (diff) | |
download | gst-plugins-bad-26f632e6309e9796d08ada0b490c0289913d5a98.tar.gz gst-plugins-bad-26f632e6309e9796d08ada0b490c0289913d5a98.tar.bz2 gst-plugins-bad-26f632e6309e9796d08ada0b490c0289913d5a98.zip |
... almost done now
Original commit message from CVS:
... almost done now
Diffstat (limited to 'gst/rtjpeg/gstrtjpegdec.c')
-rw-r--r-- | gst/rtjpeg/gstrtjpegdec.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c index 6ffa8287..ab87a36e 100644 --- a/gst/rtjpeg/gstrtjpegdec.c +++ b/gst/rtjpeg/gstrtjpegdec.c @@ -29,11 +29,8 @@ GstElementDetails gst_rtjpegdec_details = { "RTjpeg decoder", "Codec/Video/Decoder", - "GPL", "Decodes video in RTjpeg format", - VERSION, - "Erik Walthinsen <omega@cse.ogi.edu>", - "(C) 1999", + "Erik Walthinsen <omega@cse.ogi.edu>" }; /* GstRTJpegDec signals and args */ @@ -49,6 +46,7 @@ enum { static void gst_rtjpegdec_class_init (GstRTJpegDecClass *klass); +static void gst_rtjpegdec_base_init (GstRTJpegDecClass *klass); static void gst_rtjpegdec_init (GstRTJpegDec *rtjpegdec); static void gst_rtjpegdec_chain (GstPad *pad, GstData *_data); @@ -63,7 +61,8 @@ gst_rtjpegdec_get_type (void) if (!rtjpegdec_type) { static const GTypeInfo rtjpegdec_info = { - sizeof(GstRTJpegDecClass), NULL, + sizeof(GstRTJpegDecClass), + (GBaseInitFunc)gst_rtjpegdec_base_init, NULL, (GClassInitFunc)gst_rtjpegdec_class_init, NULL, @@ -78,6 +77,14 @@ gst_rtjpegdec_get_type (void) } static void +gst_rtjpegdec_base_init (GstRTJpegDecClass *klass) +{ + GstElementClass *element_class = GST_ELEMENT_CLASS (klass); + + gst_element_class_set_details (element_class, &gst_rtjpegdec_details); +} + +static void gst_rtjpegdec_class_init (GstRTJpegDecClass *klass) { GstElementClass *gstelement_class; |