diff options
-rw-r--r-- | test/basic/Makefile.am | 2 | ||||
-rw-r--r-- | test/decode/mpeg2vldemo.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/test/basic/Makefile.am b/test/basic/Makefile.am index 78eabcb..24de161 100644 --- a/test/basic/Makefile.am +++ b/test/basic/Makefile.am @@ -23,6 +23,8 @@ bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \ test_07 test_08 test_09 test_10 test_11 +AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/x11 -DIN_LIBVA + TEST_LIBS = $(top_srcdir)/src/$(libvabackendlib) test_01_LDADD = $(TEST_LIBS) diff --git a/test/decode/mpeg2vldemo.c b/test/decode/mpeg2vldemo.c index 945b69d..d62f1c2 100644 --- a/test/decode/mpeg2vldemo.c +++ b/test/decode/mpeg2vldemo.c @@ -28,7 +28,7 @@ * "mpeg2-I.m2v" and VA parameters are hardcoded into mpeg2vldemo.c, * See mpeg2-I.jif to know how those VA parameters come from * - * gcc -o mpeg2vldemo mpeg2vldemo.c -lva -lva-x11 + * gcc -o mpeg2vldemo mpeg2vldemo.c -lva -lva-x11 -I/usr/include/va * ./mpeg2vldemo : only do decode * ./mpeg2vldemo <any parameter >: decode+display * @@ -47,8 +47,8 @@ #include <assert.h> -#include <va/va.h> -#include <va/va_x11.h> +#include "va.h" +#include "va_x11.h" #define CHECK_VASTATUS(va_status,func) \ if (va_status != VA_STATUS_SUCCESS) { \ |