mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
gsttcp -> gsttcpplugin
Original commit message from CVS: gsttcp -> gsttcpplugin
This commit is contained in:
parent
752e2cc3da
commit
79d7ddc550
6 changed files with 13 additions and 88 deletions
|
@ -1,3 +1,12 @@
|
|||
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):
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
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
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
/* 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)
|
|
@ -1,40 +0,0 @@
|
|||
/* 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__ */
|
|
@ -41,7 +41,7 @@ extern "C" {
|
|||
#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())
|
||||
|
|
|
@ -34,7 +34,7 @@ extern "C" {
|
|||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include "gsttcp.h"
|
||||
#include "gsttcpplugin.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue