summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2015-08-19 15:31:16 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-08-19 16:52:03 +0300
commit697f117ddda44d0386e46e082dbd6190d837db2a (patch)
tree53c384c315eeb7d552e3e5bcf0480decf0da5db4 /tests
parent2ebebdbfbb7f5cfa7b438bb6b02fc723c9349d51 (diff)
downloadgstreamer-plugins-bad-697f117ddda44d0386e46e082dbd6190d837db2a.tar.gz
configure.ac: fix build when the uvch264 plugin is not selected
Instead of checking for the gstreamer-video-1.0 package is installed, just assume it is since we already check for the -base dependency. With this replace the GST_VIDEO_* variables in makefiles and directly link with libgstvideo. https://bugzilla.gnome.org/show_bug.cgi?id=753820
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/uvch264/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/examples/uvch264/Makefile.am b/tests/examples/uvch264/Makefile.am
index 43d0c5441..3c3914bba 100644
--- a/tests/examples/uvch264/Makefile.am
+++ b/tests/examples/uvch264/Makefile.am
@@ -11,14 +11,12 @@ test_uvch264_SOURCES = test-uvch264.c
test_uvch264_CFLAGS = \
$(GST_PLUGINS_BAD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
- $(GST_VIDEO_CFLAGS) \
$(GST_CFLAGS) \
$(GTK_CFLAGS) \
$(GMODULE_EXPORT_CFLAGS) \
-DGST_USE_UNSTABLE_API
test_uvch264_LDADD = \
- $(GST_PLUGINS_BASE_LIBS) \
- $(GST_VIDEO_LIBS) \
+ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(GST_LIBS) \
$(GTK_LIBS) \
$(GMODULE_EXPORT_LIBS)