+2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst/tcp/Makefile.am:
+ * gst/tcp/gsttcp.c:
+ * gst/tcp/gsttcp.h:
+ * gst/tcp/gsttcpsink.h:
+ * gst/tcp/gsttcpsrc.h:
+ gsttcp -> gsttcpplugin + CVS surgery in preparation for tcp merge
+
2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/debug/tests.c: (md5_get_value):
plugin_LTLIBRARIES = libgsttcp.la
-libgsttcp_la_SOURCES = gsttcp.c gsttcpsrc.c gsttcpsink.c
+libgsttcp_la_SOURCES = gsttcpplugin.c gsttcpsrc.c gsttcpsink.c
libgsttcp_la_CFLAGS = $(GST_CFLAGS)
libgsttcp_la_LIBADD =
libgsttcp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-noinst_HEADERS = gsttcpsink.h gsttcpsrc.h gsttcp.h
+noinst_HEADERS = gsttcpsink.h gsttcpsrc.h gsttcpplugin.h
EXTRA_DIST = README
+++ /dev/null
-/* 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
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "gsttcpsrc.h"
-#include "gsttcpsink.h"
-
-static gboolean
-plugin_init (GstPlugin * plugin)
-{
- if (!gst_element_register (plugin, "tcpsink", GST_RANK_NONE,
- GST_TYPE_TCPSINK))
- return FALSE;
-
- if (!gst_element_register (plugin, "tcpsrc", GST_RANK_NONE, GST_TYPE_TCPSRC))
- return FALSE;
-
- return TRUE;
-}
-
-GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
- GST_VERSION_MINOR,
- "tcp",
- "transfer data over the network via TCP",
- plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN)
+++ /dev/null
-/* 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
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-
-#ifndef __GST_TCP_H__
-#define __GST_TCP_H__
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
-
- typedef enum
- {
- CONTROL_ZERO,
- CONTROL_NONE,
- CONTROL_TCP
- } Gst_TCP_Control;
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __GST_TCP_H__ */
#include <sys/wait.h>
#include <fcntl.h>
#include <arpa/inet.h>
-#include "gsttcp.h"
+#include "gsttcpplugin.h"
#define GST_TYPE_TCPSINK \
(gst_tcpsink_get_type())
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include "gsttcp.h"
+#include "gsttcpplugin.h"
#include <fcntl.h>