summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtp.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-11-02 22:04:36 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-11-02 22:04:36 +0000
commit45e70563554fcfa5197a4c0d0bec14fa036ecc13 (patch)
tree6777f374c15a03298098c5b491dd3e6aaf1c9e21 /gst/rtp/gstrtp.c
parentfbdc88a45f2e72ecb527da6349485be4899620d9 (diff)
RTP done
Original commit message from CVS: RTP done
Diffstat (limited to 'gst/rtp/gstrtp.c')
-rw-r--r--gst/rtp/gstrtp.c25
1 files changed, 17 insertions, 8 deletions
diff --git a/gst/rtp/gstrtp.c b/gst/rtp/gstrtp.c
index 2cf33157..21f4f08e 100644
--- a/gst/rtp/gstrtp.c
+++ b/gst/rtp/gstrtp.c
@@ -17,25 +17,34 @@
* Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include "gstrtpL16enc.h"
#include "gstrtpL16parse.h"
#include "gstrtpgsmenc.h"
#include "gstrtpgsmparse.h"
static gboolean
-plugin_init (GModule *module, GstPlugin *plugin)
+plugin_init (GstPlugin *plugin)
{
- gst_rtpL16enc_plugin_init (module, plugin);
- gst_rtpL16parse_plugin_init (module, plugin);
- gst_rtpgsmenc_plugin_init (module, plugin);
- gst_rtpgsmparse_plugin_init (module, plugin);
+ if (!gst_rtpL16enc_plugin_init (plugin) ||
+ !gst_rtpL16parse_plugin_init (plugin) ||
+ !gst_rtpgsmenc_plugin_init (plugin) ||
+ !gst_rtpgsmparse_plugin_init (plugin))
+ return FALSE;
return TRUE;
}
-GstPluginDesc plugin_desc = {
+GST_PLUGIN_DEFINE (
GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"rtp",
- plugin_init
-};
+ "Real-time protocol plugins",
+ plugin_init,
+ VERSION,
+ "LGPL",
+ GST_COPYRIGHT,
+ GST_PACKAGE,
+ GST_ORIGIN
+)