Tizen 2.0 Release
[framework/multimedia/gst-plugins-bad0.10.git] / ext / teletextdec / teletext.c
1 /*
2  * GStreamer
3  * Copyright (C) 2009 Sebastian Pölsterl <sebp@k-d-w.org>
4  *
5  * This library is free software; you can redistribute it and/or
6  * mod1ify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA  02110-1301  USA
19  */
20
21 #ifdef HAVE_CONFIG_H
22 #include "config.h"
23 #endif
24
25 #include <gst/gst.h>
26 #include "gstteletextdec.h"
27
28 /* entry point to initialize the plug-in
29  * initialize the plug-in itself
30  * register the element factories and other features
31  */
32 static gboolean
33 teletext_init (GstPlugin * teletext)
34 {
35   return gst_element_register (teletext, "teletextdec", GST_RANK_NONE,
36       GST_TYPE_TELETEXTDEC);
37 }
38
39 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
40     GST_VERSION_MINOR,
41     "teletext",
42     "Teletext plugin",
43     teletext_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")