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/gstrtjpegenc.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/gstrtjpegenc.c')
-rw-r--r-- | gst/rtjpeg/gstrtjpegenc.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c index 0aa90577..1ff510bc 100644 --- a/gst/rtjpeg/gstrtjpegenc.c +++ b/gst/rtjpeg/gstrtjpegenc.c @@ -27,11 +27,8 @@ GstElementDetails gst_rtjpegenc_details = { "RTjpeg encoder", "Codec/Video/Encoder", - "GPL", "Encodes video in RTjpeg format", - VERSION, - "Erik Walthinsen <omega@cse.ogi.edu>", - "(C) 1999", + "Erik Walthinsen <omega@cse.ogi.edu>" }; /* GstRTJpegEnc signals and args */ @@ -47,6 +44,7 @@ enum { static void gst_rtjpegenc_class_init (GstRTJpegEncClass *klass); +static void gst_rtjpegenc_base_init (GstRTJpegEncClass *klass); static void gst_rtjpegenc_init (GstRTJpegEnc *rtjpegenc); static void gst_rtjpegenc_chain (GstPad *pad, GstData *_data); @@ -61,7 +59,8 @@ gst_rtjpegenc_get_type (void) if (!rtjpegenc_type) { static const GTypeInfo rtjpegenc_info = { - sizeof(GstRTJpegEncClass), NULL, + sizeof(GstRTJpegEncClass), + (GBaseInitFunc)gst_rtjpegenc_base_init, NULL, (GClassInitFunc)gst_rtjpegenc_class_init, NULL, @@ -76,6 +75,14 @@ gst_rtjpegenc_get_type (void) } static void +gst_rtjpegenc_base_init (GstRTJpegEncClass *klass) +{ + GstElementClass *element_class = GST_ELEMENT_CLASS (klass); + + gst_element_class_set_details (element_class, &gst_rtjpegenc_details); +} + +static void gst_rtjpegenc_class_init (GstRTJpegEncClass *klass) { GstElementClass *gstelement_class; |