Imported Upstream version 0.10.23
[profile/ivi/gst-plugins-bad.git] / gst / rtpmux / gstrtpmuxer.c
1 /* GStreamer RTP Muxer Plugins
2  *
3  * gstrtpdtmf.c:
4  *
5  * Copyright (C) <2007> Nokia Corporation.
6  *   Contact: Zeeshan Ali <zeeshan.ali@nokia.com>
7  * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
8  *               2000,2005 Wim Taymans <wim@fluendo.com>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Library General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Library General Public License for more details.
19  *
20  * You should have received a copy of the GNU Library General Public
21  * License along with this library; if not, write to the
22  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23  * Boston, MA 02111-1307, USA.
24  */
25
26 #ifdef HAVE_CONFIG_H
27 #  include "config.h"
28 #endif
29
30 #include "gstrtpmux.h"
31 #include "gstrtpdtmfmux.h"
32
33 static gboolean
34 plugin_init (GstPlugin * plugin)
35 {
36   if (!gst_rtp_mux_plugin_init (plugin))
37     return FALSE;
38   if (!gst_rtp_dtmf_mux_plugin_init (plugin))
39     return FALSE;
40
41   return TRUE;
42 }
43
44 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
45     GST_VERSION_MINOR,
46     "rtpmux",
47     "RTP Muxer plugins",
48     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)