mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
d67bdd8375
commit
2d7150414b
8 changed files with 15 additions and 10 deletions
|
@ -1,18 +1,21 @@
|
|||
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 = \
|
||||
gstgdppay.h \
|
||||
gstgdpdepay.h
|
||||
noinst_HEADERS = \
|
||||
dataprotocol.h \
|
||||
dp-private.h \
|
||||
gstgdppay.h \
|
||||
gstgdpdepay.h
|
||||
|
||||
Android.mk: Makefile.am $(BUILT_SOURCES)
|
||||
androgenizer \
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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])
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gst/dataprotocol/dataprotocol.h>
|
||||
#include "dataprotocol.h"
|
||||
|
||||
#include "gstgdppay.h"
|
||||
#include "gstgdpdepay.h"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <gst/dataprotocol/dataprotocol.h>
|
||||
#include "dataprotocol.h"
|
||||
|
||||
#include "gstgdpdepay.h"
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <gst/dataprotocol/dataprotocol.h>
|
||||
#include "dataprotocol.h"
|
||||
|
||||
#include "gstgdppay.h"
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue