tests: need to define GST_USE_UNSTABLE_API to avoid warnings
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 Oct 2011 15:03:29 +0000 (15:03 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 30 Oct 2011 15:03:29 +0000 (15:03 +0000)
tests/check/Makefile.am

index 77241ba..d866310 100644 (file)
@@ -58,7 +58,8 @@ noinst_PROGRAMS =
 noinst_HEADERS = elements/xingmux_testdata.h
 
 AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \
-               -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS
+               -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS \
+               -DGST_USE_UNSTABLE_API
 LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
 
 # valgrind testing
@@ -68,6 +69,9 @@ VALGRIND_TESTS_DISABLE = \
 
 SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-ugly.supp
 
+elements_amrnbenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(AM_CFLAGS)
+elements_amrnbenc_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LDADD)
+
 elements_cmmldec_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(AM_CFLAGS)
 elements_cmmlenc_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(AM_CFLAGS)