2002-03-20 21:45:03 +00:00
|
|
|
/* GStreamer
|
2001-12-22 23:27:31 +00:00
|
|
|
* 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
|
2012-11-04 00:07:18 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2001-12-22 23:27:31 +00:00
|
|
|
*/
|
|
|
|
|
2003-11-07 12:47:01 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
2001-12-22 23:27:31 +00:00
|
|
|
|
2021-02-16 13:49:56 +00:00
|
|
|
#include "gstudpelements.h"
|
2007-04-11 10:25:25 +00:00
|
|
|
|
2022-11-22 14:06:02 +00:00
|
|
|
GST_DEBUG_CATEGORY (gst_udp_debug);
|
2001-12-22 23:27:31 +00:00
|
|
|
|
|
|
|
static gboolean
|
2004-03-14 22:34:33 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2001-12-22 23:27:31 +00:00
|
|
|
{
|
2021-02-16 13:49:56 +00:00
|
|
|
gboolean ret = FALSE;
|
2007-04-11 10:25:25 +00:00
|
|
|
|
2022-11-22 14:06:02 +00:00
|
|
|
GST_DEBUG_CATEGORY_INIT (gst_udp_debug, "udp", 0, "udp");
|
|
|
|
|
2021-02-16 13:49:56 +00:00
|
|
|
ret |= GST_ELEMENT_REGISTER (udpsink, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (multiudpsink, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (dynudpsink, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (udpsrc, plugin);
|
2004-03-14 22:34:33 +00:00
|
|
|
|
2021-02-16 13:49:56 +00:00
|
|
|
return ret;
|
2001-12-22 23:27:31 +00:00
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2012-04-05 15:36:38 +00:00
|
|
|
udp,
|
2004-03-14 22:34:33 +00:00
|
|
|
"transfer data via UDP",
|
2005-11-14 02:13:35 +00:00
|
|
|
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|