tests: fix build of baseaudiovisualizer test with subdir-objects option

https://bugzilla.gnome.org/show_bug.cgi?id=705350
This commit is contained in:
Tim-Philipp Müller 2013-08-09 20:10:35 +01:00
parent 8074a48594
commit edb114c4bc
2 changed files with 5 additions and 8 deletions

View file

@ -316,11 +316,9 @@ elements_voaacenc_LDADD = \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) \ $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD) \
-lgstaudio-@GST_API_VERSION@ -lgstaudio-@GST_API_VERSION@
elements_baseaudiovisualizer_SOURCES = elements/baseaudiovisualizer.c \ elements_baseaudiovisualizer_SOURCES = elements/baseaudiovisualizer.c
$(top_srcdir)/gst/audiovisualizers/gstaudiovisualizer.c \
$(top_srcdir)/gst/audiovisualizers/gstaudiovisualizer.h
elements_baseaudiovisualizer_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) \ elements_baseaudiovisualizer_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) \
-I$(top_srcdir)/gst/audiovisualizers $(GST_PLUGINS_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
elements_baseaudiovisualizer_LDADD = \ elements_baseaudiovisualizer_LDADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ \ $(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ \

View file

@ -19,13 +19,12 @@
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#include "../../gst/audiovisualizers/gstaudiovisualizer.c"
#undef GST_CAT_DEFAULT
#include <gst/check/gstcheck.h> #include <gst/check/gstcheck.h>
#include <gst/gst.h>
#include <string.h> #include <string.h>
#include "gstaudiovisualizer.h"
/* dummy subclass for testing */ /* dummy subclass for testing */
#define GST_TYPE_TEST_SCOPE (gst_test_scope_get_type()) #define GST_TYPE_TEST_SCOPE (gst_test_scope_get_type())