dashdemux: fix undefined reference to gst_ntp_clock_new
authorJulien Isorce <j.isorce@samsung.com>
Sun, 11 Oct 2015 09:00:43 +0000 (10:00 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 11 Oct 2015 09:52:25 +0000 (10:52 +0100)
Found with gst-inspect-1.0 -b in gst-uninstalled env.

https://bugzilla.gnome.org/show_bug.cgi?id=756383

configure.ac
ext/dash/Makefile.am

index 70e2a00..f1b731c 100644 (file)
@@ -199,6 +199,7 @@ AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes)
 AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], yes)
 AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
 AG_GST_CHECK_GST_CONTROLLER($GST_API_VERSION, [$GST_REQ], yes)
+AG_GST_CHECK_GST_NET($GST_API_VERSION, [$GST_REQ], yes)
 AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
 
 AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], yes)
index 38af4b7..66f2254 100644 (file)
@@ -27,9 +27,9 @@ libgstdashdemux_la_LIBADD = \
        $(GST_PLUGINS_BASE_LIBS) \
        -lgsttag-$(GST_API_VERSION) \
        $(GST_BASE_LIBS) \
+       $(GST_NET_LIBS) \
        $(GST_LIBS) \
        $(GIO_LIBS) \
-       -lgstnet-$(GST_API_VERSION) \
        $(LIBXML2_LIBS)
 libgstdashdemux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstdashdemux_la_LIBTOOLFLAGS = --tag=disable-static