2 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3 * 2000 Wim Taymans <wtay@chello.be>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
30 #include "gstfakesink.h"
31 #include "gstfakesrc.h"
33 #include "gstfilesink.h"
34 #include "gstfilesrc.h"
35 #include "gstidentity.h"
37 #include "gsttypefindelement.h"
39 struct _elements_entry
47 /* this declaration is here because there's no gstcapsfilter.h */
48 extern GType gst_capsfilter_get_type (void);
50 static struct _elements_entry _elements[] = {
51 {"capsfilter", GST_RANK_NONE, gst_capsfilter_get_type},
52 {"fakesrc", GST_RANK_NONE, gst_fake_src_get_type},
53 {"fakesink", GST_RANK_NONE, gst_fake_sink_get_type},
55 {"fdsrc", GST_RANK_NONE, gst_fdsrc_get_type},
57 {"filesrc", GST_RANK_NONE, gst_file_src_get_type},
58 {"identity", GST_RANK_NONE, gst_identity_get_type},
59 {"filesink", GST_RANK_NONE, gst_file_sink_get_type},
60 {"tee", GST_RANK_NONE, gst_tee_get_type},
61 {"typefind", GST_RANK_NONE, gst_type_find_element_get_type},
66 plugin_init (GstPlugin * plugin)
68 struct _elements_entry *my_elements = _elements;
70 while ((*my_elements).name) {
71 if (!gst_element_register (plugin, (*my_elements).name, (*my_elements).rank,
72 ((*my_elements).type) ()))
80 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
83 "standard GStreamer elements",
84 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN);