mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
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
This commit is contained in:
parent
57c8e0146f
commit
af5717b364
3 changed files with 6 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue