Commit af5717b3 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

tests: netclock-replay: fix build with new api export/import

Can't mix/match imports and exports from the same library
here, so just include all .c files needed instead and don't
link to gstnet at all then.

https://bugzilla.gnome.org/show_bug.cgi?id=797185
parent 57c8e014
......@@ -5,8 +5,5 @@ EXTRA_DIST = \
noinst_PROGRAMS = netclock-replay
netclock_replay_LDADD = \
$(top_builddir)/libs/gst/net/libgstnet-@GST_API_VERSION@.la \
$(GST_OBJ_LIBS) \
$(GIO_LIBS)
netclock_replay_LDADD = $(GST_OBJ_LIBS) $(GIO_LIBS)
netclock_replay_CFLAGS = $(GST_OBJ_CFLAGS) $(GIO_CFLAGS)
executable('netclock-replay', 'netclock-replay.c',
dependencies : [gio_dep, gst_dep, gst_net_dep])
include_directories: libsinc,
dependencies : [gio_dep, gst_dep])
......@@ -24,9 +24,12 @@
#include <stdio.h>
#define GST_NET_API /* empty */
/* We need the internal netclock estimation function to (re)run the code on
* captured samples, plus its dependencies for the build to succeed. */
#include "../../libs/gst/net/gstntppacket.c"
#include "../../libs/gst/net/gstnettimepacket.c"
#include "../../libs/gst/net/gstnetclientclock.c"
#include "../../libs/gst/net/gstnetutils.c"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment