2003-07-17 23:04:46 +00:00
|
|
|
/* GStreamer
|
|
|
|
* 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-03 23:05:09 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2003-07-17 23:04:46 +00:00
|
|
|
*/
|
|
|
|
|
2003-11-07 12:47:02 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
2003-07-17 23:04:46 +00:00
|
|
|
|
2020-12-11 11:42:03 +00:00
|
|
|
#include "gsttcpelements.h"
|
2004-08-11 11:42:49 +00:00
|
|
|
|
2003-07-17 23:04:46 +00:00
|
|
|
static gboolean
|
2004-03-14 22:34:34 +00:00
|
|
|
plugin_init (GstPlugin * plugin)
|
2003-07-17 23:04:46 +00:00
|
|
|
{
|
2020-12-11 11:42:03 +00:00
|
|
|
gboolean ret = FALSE;
|
|
|
|
|
|
|
|
ret |= GST_ELEMENT_REGISTER (socketsrc, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (tcpclientsink, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (tcpclientsrc, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (tcpserversink, plugin);
|
|
|
|
ret |= GST_ELEMENT_REGISTER (tcpserversrc, plugin);
|
|
|
|
|
2012-02-12 21:04:02 +00:00
|
|
|
#ifdef HAVE_SYS_SOCKET_H
|
2020-12-11 11:42:03 +00:00
|
|
|
ret |= GST_ELEMENT_REGISTER (multifdsink, plugin);
|
2004-05-20 10:15:31 +00:00
|
|
|
|
2020-12-11 11:42:03 +00:00
|
|
|
#endif
|
|
|
|
ret |= GST_ELEMENT_REGISTER (multisocketsink, plugin);
|
2004-08-11 11:42:49 +00:00
|
|
|
|
2020-12-11 11:42:03 +00:00
|
|
|
return ret;
|
2003-07-17 23:04:46 +00:00
|
|
|
}
|
|
|
|
|
2004-03-14 22:34:34 +00:00
|
|
|
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
2012-04-05 13:11:05 +00:00
|
|
|
tcp,
|
2004-03-14 22:34:34 +00:00
|
|
|
"transfer data over the network via TCP",
|
2005-10-16 13:54:44 +00:00
|
|
|
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
|