1 /* GStreamer
2 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
3 * 2000 Wim Taymans <wtay@chello.be>
4 * 2002 Kristian Rietveld <kris@gtk.org>
5 * 2002,2003 Colin Walters <walters@gnu.org>
6 * 2001,2010 Bastien Nocera <hadess@hadess.net>
7 * 2010 Sebastian Dröge <sebastian.droege@collabora.co.uk>
8 * 2010 Jan Schmidt <thaytan@noraisin.net>
9 *
10 * rtmpsrc.c:
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
21 *
22 * You should have received a copy of the GNU Library General Public
23 * License along with this library; if not, write to the
24 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
25 * Boston, MA 02110-1301, USA.
26 */
27
28 #ifdef HAVE_CONFIG_H
29 #include "config.h"
30 #endif
31
32 #include <gst/gst.h>
33
34 #include "gstrtmpelements.h"
35
36 static gboolean
plugin_init(GstPlugin * plugin)37 plugin_init (GstPlugin * plugin)
38 {
39 gboolean ret = FALSE;
40
41 ret |= GST_ELEMENT_REGISTER (rtmpsrc, plugin);
42 ret |= GST_ELEMENT_REGISTER (rtmpsink, plugin);
43
44 return ret;
45 }
46
47 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
48 GST_VERSION_MINOR,
49 rtmp,
50 "RTMP source and sink",
51 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
52