audiovisualizer: Use the library instead of including the source file

Fixes build now that the shader enum GType has moved to a different file.
This commit is contained in:
Sebastian Dröge 2016-02-26 00:02:49 +02:00
parent 87f380867b
commit 16e53defe5
2 changed files with 3 additions and 5 deletions

View file

@ -345,11 +345,9 @@ libs_audiocdsrc_LDADD = \
libs_baseaudiovisualizer_SOURCES = libs/baseaudiovisualizer.c
libs_baseaudiovisualizer_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
$(GST_CFLAGS) $(AM_CFLAGS)
libs_baseaudiovisualizer_LDADD = \
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
$(GST_BASE_LIBS) $(GST_CONTROLLER_LIBS) \
$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
$(GST_LIBS) $(LDADD)
libs_discoverer_CFLAGS = \

View file

@ -19,10 +19,10 @@
* Boston, MA 02110-1301, USA.
*/
#include "../../gst-libs/gst/pbutils/gstaudiovisualizer.c"
#undef GST_CAT_DEFAULT
#include <gst/check/gstcheck.h>
#include <gst/pbutils/gstaudiovisualizer.h>
#include <string.h>
/* dummy subclass for testing */