From: Sreerenj Balachandran Date: Thu, 18 Jun 2015 10:19:26 +0000 (+0300) Subject: build: Don't build simple-encoder test program if there is no VA Encoding support X-Git-Tag: 1.19.3~503^2~1739 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d64321313e66ac5d78e870ffec83c9658e29107;p=platform%2Fupstream%2Fgstreamer.git build: Don't build simple-encoder test program if there is no VA Encoding support This will fix the build error against older VA-APIs <= 0.32 --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 8fb3f95..3637d92 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,8 +6,13 @@ noinst_PROGRAMS = \ test-surfaces \ test-windows \ test-subpicture \ + $(NULL) + +if USE_ENCODERS +noinst_PROGRAMS += \ simple-encoder \ $(NULL) +endif if USE_GLX noinst_PROGRAMS += \