gdp: move dataprotocol library into gdp plugin and make private

We have removed things like protocol=gdp in the tcp elements
in favour of explicit gdppay/depay elements, so there's no need
to keep a public API and library for now. We can still add it
back later. Someone needs to think hard about 0.11 and gdp
anyway one of these days.
This commit is contained in:
Tim-Philipp Müller 2011-12-25 23:19:57 +00:00 committed by Tim-Philipp Müller
parent d67bdd8375
commit 2d7150414b
8 changed files with 15 additions and 10 deletions

View file

@ -1,16 +1,19 @@
plugin_LTLIBRARIES = libgstgdp.la
libgstgdp_la_SOURCES = \
dataprotocol.c \
gstgdp.c \
gstgdppay.c \
gstgdpdepay.c
libgstgdp_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS)
libgstgdp_la_LIBADD = $(GST_BASE_LIBS) $(GST_GDP_LIBS)
libgstgdp_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
libgstgdp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstgdp_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \
dataprotocol.h \
dp-private.h \
gstgdppay.h \
gstgdpdepay.h

View file

@ -71,7 +71,7 @@
#endif
#include <gst/gst.h>
#include <gst/dataprotocol/dataprotocol.h>
#include "dataprotocol.h"
#include <glib/gprintf.h> /* g_sprintf */
#include <string.h> /* strlen */
#include "dp-private.h"

View file

@ -29,6 +29,8 @@
G_BEGIN_DECLS
/* FIXME: please make the dataprotocol format typefindable in new versions */
/* accessor defines */
#define GST_DP_HEADER_MAJOR_VERSION(x) ((x)[0])
#define GST_DP_HEADER_MINOR_VERSION(x) ((x)[1])

View file

@ -21,7 +21,7 @@
# include <config.h>
#endif
#include <gst/dataprotocol/dataprotocol.h>
#include "dataprotocol.h"
#include "gstgdppay.h"
#include "gstgdpdepay.h"

View file

@ -38,7 +38,7 @@
#include <string.h>
#include <gst/dataprotocol/dataprotocol.h>
#include "dataprotocol.h"
#include "gstgdpdepay.h"

View file

@ -36,7 +36,7 @@
#include "config.h"
#endif
#include <gst/dataprotocol/dataprotocol.h>
#include "dataprotocol.h"
#include "gstgdppay.h"

View file

@ -23,7 +23,7 @@
#include <unistd.h>
#include <gst/check/gstcheck.h>
#include <gst/dataprotocol/dataprotocol.h>
#include "../../gst/gdp/dataprotocol.c"
/* For ease of programming we use globals to keep refs for our floating
* src and sink pads we create; otherwise we always have to do get_pad,

View file

@ -22,7 +22,7 @@
#include <unistd.h>
#include <gst/check/gstcheck.h>
#include <gst/dataprotocol/dataprotocol.h>
#include "../../gst/gdp/dataprotocol.c"
/* For ease of programming we use globals to keep refs for our floating
* src and sink pads we create; otherwise we always have to do get_pad,