gstrtp.c 1.68 KB
Newer Older
1
/* GStreamer
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

20
#ifdef HAVE_CONFIG_H
Ronald S. Bultje's avatar
Ronald S. Bultje committed
21
#include "config.h"
22
#endif
Ronald S. Bultje's avatar
Ronald S. Bultje committed
23

24
#include "gstrtpdec.h"
25
26
#include "gstrtpamrenc.h"
#include "gstrtpamrdec.h"
27
28
29
30
#include "gstrtpmpaenc.h"
#include "gstrtpmpadec.h"
#include "gstrtph263pdec.h"
#include "gstrtph263penc.h"
31
32

static gboolean
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
33
plugin_init (GstPlugin * plugin)
34
{
35
  if (!gst_rtpdec_plugin_init (plugin))
Ronald S. Bultje's avatar
Ronald S. Bultje committed
36
    return FALSE;
37

38
39
40
41
42
43
  if (!gst_rtpamrdec_plugin_init (plugin))
    return FALSE;

  if (!gst_rtpamrenc_plugin_init (plugin))
    return FALSE;

44
45
46
47
48
49
50
51
52
53
54
55
  if (!gst_rtpmpadec_plugin_init (plugin))
    return FALSE;

  if (!gst_rtpmpaenc_plugin_init (plugin))
    return FALSE;

  if (!gst_rtph263penc_plugin_init (plugin))
    return FALSE;

  if (!gst_rtph263pdec_plugin_init (plugin))
    return FALSE;

56
57
58
  return TRUE;
}

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
59
60
61
62
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
    GST_VERSION_MINOR,
    "rtp",
    "Real-time protocol plugins",
63
    plugin_init, VERSION, "GPL", GST_PACKAGE, GST_ORIGIN)