update for new net library
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 3 Nov 2011 15:43:00 +0000 (16:43 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 3 Nov 2011 15:43:00 +0000 (16:43 +0100)
common
configure.ac
gst/rtpmanager/Makefile.am
gst/rtpmanager/rtpsession.c
gst/rtpmanager/rtpsession.h
gst/rtpmanager/rtpsource.h
gst/rtpmanager/rtpstats.h
gst/udp/Makefile.am
gst/udp/gstdynudpsink.c
gst/udp/gstudp.c
gst/udp/gstudpsrc.c

diff --git a/common b/common
index 0546e58..762b692 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 0546e5881d1ec7137c71d35247729e28c1a4ab66
+Subproject commit 762b6927ffdd1726cb4f4783f49b5cfaa9edd941
index 0a4d994..29dd4e0 100644 (file)
@@ -214,6 +214,7 @@ AG_GST_CHECK_GST($GST_MAJORMINOR, [$GST_REQ], yes)
 AG_GST_CHECK_GST_BASE($GST_MAJORMINOR, [$GST_REQ], yes)
 AG_GST_CHECK_GST_GDP($GST_MAJORMINOR, [$GST_REQ], yes)
 AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ], yes)
+AG_GST_CHECK_GST_NET($GST_MAJORMINOR, [$GST_REQ], yes)
 AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
 AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], yes)
 
index f61099c..bfcb028 100644 (file)
@@ -36,9 +36,9 @@ noinst_HEADERS = gstrtpbin.h \
                 gstrtpsession.h
 
 libgstrtpmanager_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
-       $(WARNING_CFLAGS) $(ERROR_CFLAGS)
+       $(GST_NET_CFLAGS) $(WARNING_CFLAGS) $(ERROR_CFLAGS)
 libgstrtpmanager_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
-       -lgstnetbuffer-@GST_MAJORMINOR@ -lgstrtp-@GST_MAJORMINOR@ \
+       $(GST_NET_LIBS) -lgstrtp-@GST_MAJORMINOR@ \
        $(GST_BASE_LIBS) $(GST_LIBS_LIBS)
 libgstrtpmanager_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstrtpmanager_la_LIBTOOLFLAGS = --tag=disable-static
index 00261d5..930dc31 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <gst/rtp/gstrtpbuffer.h>
 #include <gst/rtp/gstrtcpbuffer.h>
-#include <gst/netbuffer/gstnetbuffer.h>
 
 #include "gstrtpbin-marshal.h"
 #include "rtpsession.h"
index 6b827f6..4d43079 100644 (file)
@@ -21,7 +21,6 @@
 #define __RTP_SESSION_H__
 
 #include <gst/gst.h>
-#include <gst/netbuffer/gstnetbuffer.h>
 
 #include "rtpsource.h"
 
index 6db0a6a..398634c 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <gst/gst.h>
 #include <gst/rtp/gstrtcpbuffer.h>
-#include <gst/netbuffer/gstnetbuffer.h>
+#include <gst/net/gstnetaddressmeta.h>
 
 #include "rtpstats.h"
 
index 4560595..bbaf5d9 100644 (file)
@@ -21,7 +21,7 @@
 #define __RTP_STATS_H__
 
 #include <gst/gst.h>
-#include <gst/netbuffer/gstnetbuffer.h>
+#include <gst/net/gstnetaddressmeta.h>
 
 /**
  * RTPSenderReport:
index 71a5971..3e2bdbf 100644 (file)
@@ -17,9 +17,8 @@ libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c gstmultiudpsink.c gstdy
 
 # adding -D_GNU_SOURCE to get non-POSIX extensions like EAI_ADDRFAMILY
 # with glibc >= 2.8 when including netdb.h (see glibc sources bug 6452)
-libgstudp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) -D_GNU_SOURCE
-libgstudp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstnetbuffer-@GST_MAJORMINOR@ \
-                       $(GST_BASE_LIBS) $(WIN32_LIBS)
+libgstudp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GST_CFLAGS) -D_GNU_SOURCE
+libgstudp_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_NET_LIBS) $(WIN32_LIBS)
 libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstudp_la_LIBTOOLFLAGS = --tag=disable-static
 
index 42f13bd..e92cc5b 100644 (file)
@@ -36,7 +36,7 @@
 #include <sys/time.h>
 #endif
 #include <sys/types.h>
-#include <gst/netbuffer/gstnetbuffer.h>
+#include <gst/net/gstnetaddressmeta.h>
 
 GST_DEBUG_CATEGORY_STATIC (dynudpsink_debug);
 #define GST_CAT_DEFAULT (dynudpsink_debug)
index 2ea852a..b95213e 100644 (file)
@@ -21,7 +21,7 @@
 #include "config.h"
 #endif
 
-#include <gst/netbuffer/gstnetbuffer.h>
+#include <gst/net/gstnetaddressmeta.h>
 
 #include "gstudpsrc.h"
 #include "gstmultiudpsink.h"
index c7ecc8f..12ca578 100644 (file)
 #include <io.h>
 #endif
 
-#include <gst/netbuffer/gstnetbuffer.h>
+#include <gst/net/gstnetaddressmeta.h>
 
 #ifdef HAVE_FIONREAD_IN_SYS_FILIO
 #include <sys/filio.h>