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
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])
#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"