Commit 16e53def authored by Sebastian Dröge's avatar Sebastian Dröge

audiovisualizer: Use the library instead of including the source file

Fixes build now that the shader enum GType has moved to a different file.
parent 87f38086
......@@ -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 = \
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment