Really remove all mention of gstnetbuffer
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 4 Nov 2011 07:57:45 +0000 (08:57 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 4 Nov 2011 08:01:36 +0000 (09:01 +0100)
20 files changed:
Android.mk
android/netbuffer.mk [deleted file]
docs/libs/gst-plugins-base-libs-docs.sgml
docs/libs/gst-plugins-base-libs-sections.txt
gst-plugins-base.spec.in
pkgconfig/Makefile.am
pkgconfig/gstreamer-plugins-base-uninstalled.pc.in
pkgconfig/gstreamer-plugins-base.pc.in
tests/check/Makefile.am
tests/check/libs/.gitignore
tests/check/libs/gstlibscpp.cc
tests/check/libs/libsabi.c
tests/check/libs/netbuffer.c [deleted file]
tests/check/libs/struct_arm.h
tests/check/libs/struct_i386_osx.h
tests/check/libs/struct_x86_64.h
win32/MANIFEST
win32/common/libgstnetbuffer.def [deleted file]
win32/vs6/gst_plugins_base.dsw
win32/vs6/libgstnetbuffer.dsp [deleted file]

index f9f4cef..65a3bd9 100644 (file)
@@ -9,7 +9,6 @@ GST_PLUGINS_BASE_BUILT_SOURCES :=                                               \
        pkgconfig/gstreamer-cdda-0.10.pc                        \
        pkgconfig/gstreamer-fft-0.10.pc                         \
        pkgconfig/gstreamer-interfaces-0.10.pc                  \
-       pkgconfig/gstreamer-netbuffer-0.10.pc                   \
        pkgconfig/gstreamer-pbutils-0.10.pc                     \
        pkgconfig/gstreamer-plugins-base-0.10.pc                \
        pkgconfig/gstreamer-riff-0.10.pc                        \
@@ -23,7 +22,6 @@ GST_PLUGINS_BASE_BUILT_SOURCES :=                                             \
        pkgconfig/gstreamer-cdda-0.10-uninstalled.pc            \
        pkgconfig/gstreamer-fft-0.10-uninstalled.pc             \
        pkgconfig/gstreamer-interfaces-0.10-uninstalled.pc      \
-       pkgconfig/gstreamer-netbuffer-0.10-uninstalled.pc       \
        pkgconfig/gstreamer-pbutils-0.10-uninstalled.pc         \
        pkgconfig/gstreamer-plugins-base-0.10-uninstalled.pc    \
        pkgconfig/gstreamer-riff-0.10-uninstalled.pc            \
@@ -40,7 +38,6 @@ GST_PLUGINS_BASE_BUILT_SOURCES :=                                             \
        gst-libs/gst/pbutils/Android.mk                         \
        gst-libs/gst/rtp/Android.mk                             \
        gst-libs/gst/rtsp/Android.mk                            \
-       gst-libs/gst/netbuffer/Android.mk                       \
        gst-libs/gst/sdp/Android.mk                             \
        gst-libs/gst/app/Android.mk                             \
        gst-libs/gst/fft/Android.mk                             \
@@ -102,7 +99,6 @@ CONFIGURE_TARGETS += gst-plugins-base-configure
 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/pbutils/Android.mk
 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/rtp/Android.mk
 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/rtsp/Android.mk
--include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/netbuffer/Android.mk
 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/sdp/Android.mk
 -include $(GST_PLUGINS_BASE_TOP)/gst-libs/gst/app/Android.mk
 -include $(GST_PLUGINS_BASE_TOP)/gst/playback/Android.mk
diff --git a/android/netbuffer.mk b/android/netbuffer.mk
deleted file mode 100644 (file)
index 8b217f9..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-#----------------------------------------
-# include 
-gst_netbuffer_COPY_HEADERS_TO := gstreamer-0.11/gst/netbuffer
-gst_netbuffer_COPY_HEADERS := \
-       ../gst-libs/gst/netbuffer/gstnetbuffer.h
-
-include $(CLEAR_VARS)
-
-LOCAL_ARM_MODE := arm
-
-netbuffer_LOCAL_SRC_FILES:= \
-       gst-libs/gst/netbuffer/gstnetbuffer.c
-
-LOCAL_SRC_FILES:= $(addprefix ../,$(netbuffer_LOCAL_SRC_FILES))
-
-LOCAL_SHARED_LIBRARIES := \
-    libgstreamer-0.11       \
-    libgstbase-0.11         \
-    libglib-2.0             \
-    libgthread-2.0          \
-    libgmodule-2.0          \
-    libgobject-2.0
-
-LOCAL_MODULE:= libgstnetbuffer-0.11
-
-LOCAL_CFLAGS := -DHAVE_CONFIG_H        -DGSTREAMER_BUILT_FOR_ANDROID \
-       $(GST_PLUGINS_BASE_CFLAGS)
-#
-# define LOCAL_PRELINK_MODULE to false to not use pre-link map
-#
-LOCAL_PRELINK_MODULE := false
-
-LOCAL_COPY_HEADERS_TO := $(gst_netbuffer_COPY_HEADERS_TO)
-LOCAL_COPY_HEADERS := $(gst_netbuffer_COPY_HEADERS)
-LOCAL_MODULE_TAGS := optional
-
-include $(BUILD_SHARED_LIBRARY)
index b470767..243c7fc 100644 (file)
       <xi:include href="xml/gstvideooverlay.xml" />
     </chapter>
 
-    <chapter id="gstreamer-netbuffer">
-      <title>Network Buffer Library</title>
-      <para>
-        This library should be linked to by getting cflags and libs from
-        <filename>gstreamer-plugins-base-&GST_MAJORMINOR;.pc</filename> and adding
-        <filename>-lgstnetbuffer-&GST_MAJORMINOR;</filename> to the library flags.
-      </para>
-      <xi:include href="xml/gstnetbuffer.xml" />
-    </chapter>
-
     <chapter id="gstreamer-riff">
       <title>Riff Media Library</title>
       <para>
index 9f7a0a4..6d77f0f 100644 (file)
@@ -905,41 +905,6 @@ gst_video_overlay_get_type
 </SECTION>
 
 
-# netbuffer
-
-<SECTION>
-<FILE>gstnetbuffer</FILE>
-<INCLUDE>gst/netbuffer/gstnetbuffer.h</INCLUDE>
-GstNetBuffer
-GstNetType
-GST_NETADDRESS_MAX_LEN
-GstNetAddress
-
-gst_netbuffer_new
-gst_netaddress_get_net_type
-
-gst_netaddress_set_ip4_address
-gst_netaddress_get_ip4_address
-
-gst_netaddress_set_ip6_address
-gst_netaddress_get_ip6_address
-
-gst_netaddress_get_address_bytes
-gst_netaddress_set_address_bytes
-
-gst_netaddress_equal
-
-gst_netaddress_to_string
-<SUBSECTION Standard>
-GstNetBufferClass
-GST_TYPE_NETBUFFER
-GST_NETBUFFER
-GST_NETBUFFER_CLASS
-GST_NETBUFFER_GET_CLASS
-GST_IS_NETBUFFER
-GST_IS_NETBUFFER_CLASS
-gst_netbuffer_get_type
-</SECTION>
 
 
 # riff
index f815c78..408a148 100644 (file)
@@ -87,7 +87,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgstaudio-%{majorminor}.so.*
 %{_libdir}/libgstcdda-%{majorminor}.so*
 %{_libdir}/libgstinterfaces-%{majorminor}.so.*
-%{_libdir}/libgstnetbuffer-%{majorminor}.so*
 %{_libdir}/libgstpbutils-%{majorminor}.so*
 %{_libdir}/libgstriff-%{majorminor}.so.*
 %{_libdir}/libgstrtp-%{majorminor}.so*
@@ -179,7 +178,6 @@ GStreamer Plugins Base library development and header files.
 %{_includedir}/gstreamer-%{majorminor}/gst/rtp/gstbasertppayload.h
 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideofilter.h
 %{_includedir}/gstreamer-%{majorminor}/gst/video/gstvideosink.h
-%{_includedir}/gstreamer-%{majorminor}/gst/netbuffer/gstnetbuffer.h
 %{_includedir}/gstreamer-%{majorminor}/gst/cdda/gstcddabasesrc.h
 %{_includedir}/gstreamer-%{majorminor}/gst/audio/mixerutils.h
 %{_includedir}/gstreamer-%{majorminor}/gst/interfaces/videoorientation.h
@@ -232,7 +230,6 @@ GStreamer Plugins Base library development and header files.
 %{_libdir}/libgstvideo-%{majorminor}.so
 %{_libdir}/libgstrtp-%{majorminor}.so
 %{_libdir}/libgstinterfaces-%{majorminor}.so
-%{_libdir}/libgstnetbuffer-%{majorminor}.so
 %{_libdir}/libgstpbutils-%{majorminor}.so
 %{_libdir}/libgstcdda-%{majorminor}.so
 %{_libdir}/libgstapp-%{majorminor}.so
@@ -243,7 +240,6 @@ GStreamer Plugins Base library development and header files.
 %{_libdir}/pkgconfig/gstreamer-cdda-%{majorminor}.pc
 %{_libdir}/pkgconfig/gstreamer-fft-%{majorminor}.pc
 %{_libdir}/pkgconfig/gstreamer-interfaces-%{majorminor}.pc
-%{_libdir}/pkgconfig/gstreamer-netbuffer-%{majorminor}.pc
 %{_libdir}/pkgconfig/gstreamer-pbutils-%{majorminor}.pc
 %{_libdir}/pkgconfig/gstreamer-riff-%{majorminor}.pc
 %{_libdir}/pkgconfig/gstreamer-rtp-%{majorminor}.pc
@@ -257,7 +253,6 @@ GStreamer Plugins Base library development and header files.
 %{_libdir}/girepository-1.0/GstAudio-%{majorminor}.typelib
 %{_libdir}/girepository-1.0/GstFft-%{majorminor}.typelib
 %{_libdir}/girepository-1.0/GstInterfaces-%{majorminor}.typelib
-%{_libdir}/girepository-1.0/GstNetbuffer-%{majorminor}.typelib
 %{_libdir}/girepository-1.0/GstPbutils-%{majorminor}.typelib
 %{_libdir}/girepository-1.0/GstRiff-%{majorminor}.typelib
 %{_libdir}/girepository-1.0/GstRtp-%{majorminor}.typelib
@@ -269,7 +264,6 @@ GStreamer Plugins Base library development and header files.
 %{_datadir}/gir-1.0/GstAudio-%{majorminor}.gir
 %{_datadir}/gir-1.0/GstFft-%{majorminor}.gir
 %{_datadir}/gir-1.0/GstInterfaces-%{majorminor}.gir
-%{_datadir}/gir-1.0/GstNetbuffer-%{majorminor}.gir
 %{_datadir}/gir-1.0/GstPbutils-%{majorminor}.gir
 %{_datadir}/gir-1.0/GstRiff-%{majorminor}.gir
 %{_datadir}/gir-1.0/GstRtp-%{majorminor}.gir
index 11b8f47..af03a84 100644 (file)
@@ -5,7 +5,6 @@ pcverfiles =  \
        gstreamer-cdda-@GST_MAJORMINOR@.pc \
        gstreamer-fft-@GST_MAJORMINOR@.pc \
        gstreamer-interfaces-@GST_MAJORMINOR@.pc \
-       gstreamer-netbuffer-@GST_MAJORMINOR@.pc \
        gstreamer-pbutils-@GST_MAJORMINOR@.pc \
        gstreamer-riff-@GST_MAJORMINOR@.pc \
        gstreamer-rtp-@GST_MAJORMINOR@.pc \
@@ -20,7 +19,6 @@ pcverfiles_uninstalled = \
        gstreamer-cdda-@GST_MAJORMINOR@-uninstalled.pc \
        gstreamer-fft-@GST_MAJORMINOR@-uninstalled.pc \
        gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \
-       gstreamer-netbuffer-@GST_MAJORMINOR@-uninstalled.pc \
        gstreamer-pbutils-@GST_MAJORMINOR@-uninstalled.pc \
        gstreamer-riff-@GST_MAJORMINOR@-uninstalled.pc \
        gstreamer-rtp-@GST_MAJORMINOR@-uninstalled.pc \
@@ -52,7 +50,6 @@ pcinfiles = \
            gstreamer-cdda.pc.in gstreamer-cdda-uninstalled.pc.in \
            gstreamer-fft.pc.in gstreamer-fft-uninstalled.pc.in \
            gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \
-           gstreamer-netbuffer.pc.in gstreamer-netbuffer-uninstalled.pc.in \
            gstreamer-pbutils.pc.in gstreamer-pbutils-uninstalled.pc.in \
            gstreamer-riff.pc.in gstreamer-riff-uninstalled.pc.in \
            gstreamer-rtp.pc.in gstreamer-rtp-uninstalled.pc.in \
index 8a9bea2..e2358ff 100644 (file)
@@ -10,7 +10,7 @@ Name: GStreamer Base Plugins Libraries, Uninstalled
 Description: Streaming media framework, base plugins libraries, uninstalled
 Version: @VERSION@
 Requires: gstreamer-@GST_MAJORMINOR@
-Libs: -L@abs_top_builddir@/gst-libs/gst/audio -L@abs_top_builddir@/gst-libs/gst/cdda -L@abs_top_builddir@/gst-libs/gst/fft -L@abs_top_builddir@/gst-libs/gst/floatcast -L@abs_top_builddir@/gst-libs/gst/interfaces -L@abs_top_builddir@/gst-libs/gst/netbuffer -L@abs_top_builddir@/gst-libs/gst/riff -L@abs_top_builddir@/gst-libs/gst/rtp -L@abs_top_builddir@/gst-libs/gst/rtsp -L@abs_top_builddir@/gst-libs/gst/sdp -L@abs_top_builddir@/gst-libs/gst/tag -L@abs_top_builddir@/gst-libs/gst/pbutils -L@abs_top_builddir@/gst-libs/gst/video -L@abs_top_builddir@/gst-libs/gst/app
+Libs: -L@abs_top_builddir@/gst-libs/gst/audio -L@abs_top_builddir@/gst-libs/gst/cdda -L@abs_top_builddir@/gst-libs/gst/fft -L@abs_top_builddir@/gst-libs/gst/floatcast -L@abs_top_builddir@/gst-libs/gst/interfaces -L@abs_top_builddir@/gst-libs/gst/riff -L@abs_top_builddir@/gst-libs/gst/rtp -L@abs_top_builddir@/gst-libs/gst/rtsp -L@abs_top_builddir@/gst-libs/gst/sdp -L@abs_top_builddir@/gst-libs/gst/tag -L@abs_top_builddir@/gst-libs/gst/pbutils -L@abs_top_builddir@/gst-libs/gst/video -L@abs_top_builddir@/gst-libs/gst/app
 Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
 
-libraries=app audio cdda fft floatcast interfaces netbuffer riff rtp rtsp sdp tag pbutils video
+libraries=app audio cdda fft floatcast interfaces riff rtp rtsp sdp tag pbutils video
index 4bc6088..beac616 100644 (file)
@@ -11,4 +11,4 @@ Version: @VERSION@
 Libs: -L${libdir}
 Cflags: -I${includedir}
 
-libraries=audio cdda fft floatcast interfaces netbuffer riff rtp tag pbutils video
+libraries=audio cdda fft floatcast interfaces riff rtp tag pbutils video
index 8636910..dbb04e1 100644 (file)
@@ -119,7 +119,6 @@ check_PROGRAMS = \
        libs/fft \
        libs/mixer \
        libs/navigation \
-       libs/netbuffer \
        libs/pbutils \
        libs/profile \
        libs/rtp \
@@ -200,7 +199,6 @@ libs_libsabi_LDADD = \
        $(top_builddir)/gst-libs/gst/cdda/libgstcdda-@GST_MAJORMINOR@.la \
        $(top_builddir)/gst-libs/gst/fft/libgstfft-@GST_MAJORMINOR@.la \
        $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
-       $(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer-@GST_MAJORMINOR@.la \
        $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \
        $(top_builddir)/gst-libs/gst/rtp/libgstrtp-@GST_MAJORMINOR@.la \
        $(top_builddir)/gst-libs/gst/rtsp/libgstrtsp-@GST_MAJORMINOR@.la \
@@ -269,13 +267,6 @@ libs_navigation_LDADD = \
         $(GST_BASE_LIBS) \
         $(LDADD)
 
-libs_netbuffer_CFLAGS = \
-       $(GST_PLUGINS_BASE_CFLAGS) \
-       $(AM_CFLAGS)
-libs_netbuffer_LDADD = \
-       $(top_builddir)/gst-libs/gst/netbuffer/libgstnetbuffer-@GST_MAJORMINOR@.la \
-       $(LDADD)
-
 libs_rtp_CFLAGS = \
        $(GST_PLUGINS_BASE_CFLAGS) \
        $(AM_CFLAGS)
index 4972a9a..d448ce3 100644 (file)
@@ -7,7 +7,6 @@ gstlibscpp
 libsabi
 mixer
 navigation
-netbuffer
 pbutils
 profile
 rtp
index f95cd78..e0931d0 100644 (file)
@@ -64,8 +64,6 @@
 #include <gst/interfaces/videoorientation.h>
 #include <gst/interfaces/videooverlay.h>
 
-#include <gst/netbuffer/gstnetbuffer.h>
-
 #include <gst/pbutils/codec-utils.h>
 #include <gst/pbutils/descriptions.h>
 #include <gst/pbutils/encoding-profile.h>
index 5c4135d..6f03e86 100644 (file)
@@ -46,7 +46,6 @@
 #include <gst/interfaces/tuner.h>
 #include <gst/interfaces/videoorientation.h>
 #include <gst/interfaces/videooverlay.h>
-#include <gst/netbuffer/gstnetbuffer.h>
 #include <gst/pbutils/pbutils.h>
 #include <gst/riff/riff-media.h>
 #include <gst/riff/riff-read.h>
diff --git a/tests/check/libs/netbuffer.c b/tests/check/libs/netbuffer.c
deleted file mode 100644 (file)
index b470afc..0000000
+++ /dev/null
@@ -1,140 +0,0 @@
-/* GStreamer unit tests for libgstnetbuffer
- *
- * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
- *
- * 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 <gst/check/gstcheck.h>
-#include <gst/netbuffer/gstnetbuffer.h>
-
-#define DATA_STRING "Yoho this is a string"
-
-GST_START_TEST (test_netbuffer_copy)
-{
-  GstBuffer *netbuf, *copy;
-  guint8 ipv6_addr[16] = { 0xff, 0x11, 0xee, 0x22, 0xdd, 0x33, 0xcc,
-    0x44, 0xbb, 0x55, 0xaa, 0x66, 0x00, 0x77, 0x99, 0x88
-  };
-  guint8 ipv6_copy[16];
-  guint32 ipv4_copy, ipv4_addr = 0xfe12dc34;
-  guint16 ipv6_port = 3490;
-  guint16 ipv4_port = 5678;
-  guint16 port;
-  GstNetAddressMeta *meta, *cmeta;
-  gsize len;
-  guint8 *data1, *data2;
-  gsize size1, size2;
-
-  netbuf = gst_buffer_new ();
-  fail_unless (netbuf != NULL, "failed to create net buffer");
-  meta = gst_buffer_add_net_address_meta (netbuf);
-
-  gst_net_address_set_ip4_address (&meta->naddr, ipv4_addr, ipv4_port);
-
-  len = strlen (DATA_STRING);
-  gst_buffer_take_memory (netbuf, -1,
-      gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY,
-          (gpointer) DATA_STRING, NULL, len, 0, len));
-
-  GST_BUFFER_FLAG_SET (netbuf, GST_BUFFER_FLAG_DISCONT);
-
-  copy = gst_buffer_copy (netbuf);
-  fail_unless (copy != NULL, "failed to copy net buffer");
-
-  cmeta = gst_buffer_get_net_address_meta (copy);
-  fail_unless (cmeta != NULL, "copied buffer is not a GstNetBuffer!");
-
-  fail_unless_equals_int (GST_MINI_OBJECT_REFCOUNT_VALUE (copy), 1);
-
-  data1 = gst_buffer_map (netbuf, &size1, NULL, GST_MAP_READ);
-  data2 = gst_buffer_map (copy, &size2, NULL, GST_MAP_READ);
-  fail_unless_equals_int (size1, size2);
-  fail_unless (memcmp (data1, data2, size1) == 0);
-  gst_buffer_unmap (copy, data2, size2);
-  gst_buffer_unmap (netbuf, data1, size1);
-
-  fail_unless (GST_BUFFER_FLAG_IS_SET (copy, GST_BUFFER_FLAG_DISCONT));
-
-  fail_unless (gst_net_address_get_ip4_address (&cmeta->naddr, &ipv4_copy,
-          &port));
-  fail_unless (ipv4_copy == ipv4_addr,
-      "Copied buffer has wrong IPV4 from address");
-  fail_unless (port == ipv4_port, "Copied buffer has wrong IPV4 from port");
-  gst_buffer_unref (netbuf);
-  gst_buffer_unref (copy);
-
-  netbuf = gst_buffer_new ();
-  fail_unless (netbuf != NULL, "failed to create net buffer");
-  meta = gst_buffer_add_net_address_meta (netbuf);
-
-  gst_net_address_set_ip6_address (&meta->naddr, ipv6_addr, ipv6_port);
-
-  len = strlen (DATA_STRING);
-  gst_buffer_take_memory (netbuf, -1,
-      gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY,
-          (gpointer) DATA_STRING, NULL, len, 0, len));
-
-  GST_BUFFER_FLAG_SET (netbuf, GST_BUFFER_FLAG_DISCONT);
-
-  copy = gst_buffer_copy (netbuf);
-  fail_unless (copy != NULL, "failed to copy net buffer");
-
-  cmeta = gst_buffer_get_net_address_meta (copy);
-  fail_unless (cmeta != NULL, "copied buffer is not a GstNetBuffer!");
-
-  fail_unless_equals_int (GST_MINI_OBJECT_REFCOUNT_VALUE (copy), 1);
-
-  data1 = gst_buffer_map (netbuf, &size1, NULL, GST_MAP_READ);
-  data2 = gst_buffer_map (copy, &size2, NULL, GST_MAP_READ);
-  fail_unless_equals_int (size1, size2);
-  fail_unless (memcmp (data1, data2, size1) == 0);
-  gst_buffer_unmap (copy, data2, size2);
-  gst_buffer_unmap (netbuf, data1, size1);
-
-  fail_unless (GST_BUFFER_FLAG_IS_SET (copy, GST_BUFFER_FLAG_DISCONT));
-
-  fail_unless (gst_net_address_get_ip6_address (&cmeta->naddr, ipv6_copy,
-          &port));
-  fail_unless (memcmp (ipv6_copy, ipv6_addr, 16) == 0,
-      "Copied buffer has wrong IPv6 destination address");
-  fail_unless (port == ipv6_port,
-      "Copied buffer has wrong IPv6 destination port");
-  gst_buffer_unref (netbuf);
-  gst_buffer_unref (copy);
-
-}
-
-GST_END_TEST;
-
-static Suite *
-netbuffer_suite (void)
-{
-  Suite *s = suite_create ("netbuffer");
-  TCase *tc_chain = tcase_create ("netbuffer");
-
-  suite_add_tcase (s, tc_chain);
-
-  tcase_add_test (tc_chain, test_netbuffer_copy);
-
-  return s;
-}
-
-GST_CHECK_MAIN (netbuffer);
index b5e12d3..bc4c01a 100644 (file)
@@ -48,9 +48,6 @@ GstCheckABIStruct list[] = {
   {"GstMixerTrackClass", sizeof (GstMixerTrackClass), 84},
   {"GstMixerTrack", sizeof (GstMixerTrack), 32},
   {"GstNavigationInterface", sizeof (GstNavigationInterface), 28},
-  {"GstNetAddress", sizeof (GstNetAddress), 40},
-  {"GstNetBufferClass", sizeof (GstNetBufferClass), 32},
-  {"GstNetBuffer", sizeof (GstNetBuffer), 184},
   {"GstPropertyProbeInterface", sizeof (GstPropertyProbeInterface), 44},
   {"gst_riff_acid", sizeof (gst_riff_acid), 24},
   {"gst_riff_dmlh", sizeof (gst_riff_dmlh), 4},
index fe2b410..e0056bd 100644 (file)
@@ -48,9 +48,6 @@ GstCheckABIStruct list[] = {
   {"GstMixerTrackClass", sizeof (GstMixerTrackClass), 84},
   {"GstMixerTrack", sizeof (GstMixerTrack), 32},
   {"GstNavigationInterface", sizeof (GstNavigationInterface), 28},
-  {"GstNetAddress", sizeof (GstNetAddress), 40},
-  {"GstNetBufferClass", sizeof (GstNetBufferClass), 32},
-  {"GstNetBuffer", sizeof (GstNetBuffer), 176},
   {"GstPropertyProbeInterface", sizeof (GstPropertyProbeInterface), 44},
   {"gst_riff_acid", sizeof (gst_riff_acid), 24},
   {"gst_riff_dmlh", sizeof (gst_riff_dmlh), 4},
index 5da5f9c..a651b77 100644 (file)
@@ -46,7 +46,6 @@ GstCheckABIStruct list[] = {
   {"GstMixerTrackClass", sizeof (GstMixerTrackClass), 168},
   {"GstMixerTrack", sizeof (GstMixerTrack), 48},
   {"GstNavigationInterface", sizeof (GstNavigationInterface), 56},
-  {"GstNetAddress", sizeof (GstNetAddress), 56},
   {"GstPropertyProbeInterface", sizeof (GstPropertyProbeInterface), 88},
   {"gst_riff_acid", sizeof (gst_riff_acid), 24},
   {"gst_riff_dmlh", sizeof (gst_riff_dmlh), 4},
index 6785c88..7e7c5a9 100644 (file)
@@ -9,7 +9,6 @@ win32/common/libgstapp.def
 win32/common/libgstaudio.def
 win32/common/libgstcdda.def
 win32/common/libgstinterfaces.def
-win32/common/libgstnetbuffer.def
 win32/common/libgstpbutils.def
 win32/common/libgstriff.def
 win32/common/libgstrtp.def
@@ -38,7 +37,6 @@ win32/vs6/libgstdecodebin.dsp
 win32/vs6/libgstfft.dsp
 win32/vs6/libgstgdp.dsp
 win32/vs6/libgstinterfaces.dsp
-win32/vs6/libgstnetbuffer.dsp
 win32/vs6/libgstogg.dsp
 win32/vs6/libgstpbutils.dsp
 win32/vs6/libgstplaybin.dsp
diff --git a/win32/common/libgstnetbuffer.def b/win32/common/libgstnetbuffer.def
deleted file mode 100644 (file)
index 4a191d4..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-EXPORTS
-       gst_meta_net_address_get_info
-       gst_netaddress_equal
-       gst_netaddress_get_address_bytes
-       gst_netaddress_get_ip4_address
-       gst_netaddress_get_ip6_address
-       gst_netaddress_get_net_type
-       gst_netaddress_set_address_bytes
-       gst_netaddress_set_ip4_address
-       gst_netaddress_set_ip6_address
-       gst_netaddress_to_string
index a651927..ad52796 100644 (file)
@@ -177,17 +177,6 @@ Package=<4>
 \r
 ###############################################################################\r
 \r
-Project: "libgstnetbuffer"=".\libgstnetbuffer.dsp" - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
 \r
 Project: "libgstogg"=".\libgstogg.dsp" - Package Owner=<4>\r
 \r
diff --git a/win32/vs6/libgstnetbuffer.dsp b/win32/vs6/libgstnetbuffer.dsp
deleted file mode 100644 (file)
index 3111069..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-# Microsoft Developer Studio Project File - Name="libgstnetbuffer" - Package Owner=<4>\r
-# Microsoft Developer Studio Generated Build File, Format Version 6.00\r
-# ** DO NOT EDIT **\r
-\r
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
-\r
-CFG=libgstnetbuffer - Win32 Debug\r
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
-!MESSAGE use the Export Makefile command and run\r
-!MESSAGE \r
-!MESSAGE NMAKE /f "libgstnetbuffer.mak".\r
-!MESSAGE \r
-!MESSAGE You can specify a configuration when running NMAKE\r
-!MESSAGE by defining the macro CFG on the command line. For example:\r
-!MESSAGE \r
-!MESSAGE NMAKE /f "libgstnetbuffer.mak" CFG="libgstnetbuffer - Win32 Debug"\r
-!MESSAGE \r
-!MESSAGE Possible choices for configuration are:\r
-!MESSAGE \r
-!MESSAGE "libgstnetbuffer - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE "libgstnetbuffer - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")\r
-!MESSAGE \r
-\r
-# Begin Project\r
-# PROP AllowPerConfigDependencies 0\r
-# PROP Scc_ProjName ""\r
-# PROP Scc_LocalPath ""\r
-CPP=cl.exe\r
-MTL=midl.exe\r
-RSC=rc.exe\r
-\r
-!IF  "$(CFG)" == "libgstnetbuffer - Win32 Release"\r
-\r
-# PROP BASE Use_MFC 0\r
-# PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "Release"\r
-# PROP BASE Intermediate_Dir "Release"\r
-# PROP BASE Target_Dir ""\r
-# PROP Use_MFC 0\r
-# PROP Use_Debug_Libraries 0\r
-# PROP Output_Dir "Release"\r
-# PROP Intermediate_Dir "Release"\r
-# PROP Ignore_Export_Lib 0\r
-# PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTNETBUFFER_EXPORTS" /YX /FD /c\r
-# ADD CPP /nologo /MD /W3 /O2 /I "../../gst-libs" /I "../../../gstreamer" /I "../common" /I "../../../gstreamer/libs" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTNETBUFFER_EXPORTS" /D "HAVE_CONFIG_H" /FD /c\r
-# SUBTRACT CPP /YX\r
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
-# ADD BASE RSC /l 0x40c /d "NDEBUG"\r
-# ADD RSC /l 0x40c /d "NDEBUG"\r
-BSC32=bscmake.exe\r
-# ADD BASE BSC32 /nologo\r
-# ADD BSC32 /nologo\r
-LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386\r
-# ADD LINK32 libgstreamer-0.10.lib libgstbase-0.10.lib glib-2.0.lib gobject-2.0.lib /nologo /dll /machine:I386 /out:"Release/libgstnetbuffer-0.10.dll" /libpath:"../../../gstreamer/win32/vs6/release" /libpath:"./release"\r
-# Begin Special Build Tool\r
-TargetPath=.\Release\libgstnetbuffer-0.10.dll\r
-SOURCE="$(InputPath)"\r
-PostBuild_Cmds=copy /Y $(TargetPath) c:\gstreamer\bin\r
-# End Special Build Tool\r
-\r
-!ELSEIF  "$(CFG)" == "libgstnetbuffer - Win32 Debug"\r
-\r
-# PROP BASE Use_MFC 0\r
-# PROP BASE Use_Debug_Libraries 1\r
-# PROP BASE Output_Dir "Debug"\r
-# PROP BASE Intermediate_Dir "Debug"\r
-# PROP BASE Target_Dir ""\r
-# PROP Use_MFC 0\r
-# PROP Use_Debug_Libraries 1\r
-# PROP Output_Dir "Debug"\r
-# PROP Intermediate_Dir "Debug"\r
-# PROP Ignore_Export_Lib 0\r
-# PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTNETBUFFER_EXPORTS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "../../gst-libs" /I "../../../gstreamer" /I "../common" /I "../../../gstreamer/libs" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTNETBUFFER_EXPORTS" /D "HAVE_CONFIG_H" /FD /GZ /c\r
-# SUBTRACT CPP /YX\r
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
-# ADD BASE RSC /l 0x40c /d "_DEBUG"\r
-# ADD RSC /l 0x40c /d "_DEBUG"\r
-BSC32=bscmake.exe\r
-# ADD BASE BSC32 /nologo\r
-# ADD BSC32 /nologo\r
-LINK32=link.exe\r
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 libgstreamer-0.10.lib libgstbase-0.10.lib glib-2.0D.lib gobject-2.0D.lib /nologo /dll /debug /machine:I386 /out:"Debug/libgstnetbuffer-0.10.dll" /pdbtype:sept /libpath:"../../../gstreamer/win32/vs6/debug" /libpath:"./debug"\r
-# Begin Special Build Tool\r
-TargetPath=.\Debug\libgstnetbuffer-0.10.dll\r
-SOURCE="$(InputPath)"\r
-PostBuild_Cmds=copy /Y $(TargetPath) c:\gstreamer\debug\bin\r
-# End Special Build Tool\r
-\r
-!ENDIF \r
-\r
-# Begin Target\r
-\r
-# Name "libgstnetbuffer - Win32 Release"\r
-# Name "libgstnetbuffer - Win32 Debug"\r
-# Begin Group "Source Files"\r
-\r
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
-# Begin Source File\r
-\r
-SOURCE="..\..\gst-libs\gst\netbuffer\gstnetbuffer.c"\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=..\common\libgstnetbuffer.def\r
-# End Source File\r
-# End Group\r
-# Begin Group "Header Files"\r
-\r
-# PROP Default_Filter "h;hpp;hxx;hm;inl"\r
-# Begin Source File\r
-\r
-SOURCE="..\..\gst-libs\gst\net\gstnetbuffer.h"\r
-# End Source File\r
-# End Group\r
-# Begin Group "Resource Files"\r
-\r
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"\r
-# End Group\r
-# End Target\r
-# End Project\r