Commit b7c8a2ec authored by Austin Yuan's avatar Austin Yuan

fix test build issue on a clean system

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent d76376f1
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \ bin_PROGRAMS = test_01 test_02 test_03 test_04 test_05 test_06 \
test_07 test_08 test_09 test_10 test_11 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_LIBS = $(top_srcdir)/src/$(libvabackendlib)
test_01_LDADD = $(TEST_LIBS) test_01_LDADD = $(TEST_LIBS)
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* "mpeg2-I.m2v" and VA parameters are hardcoded into mpeg2vldemo.c, * "mpeg2-I.m2v" and VA parameters are hardcoded into mpeg2vldemo.c,
* See mpeg2-I.jif to know how those VA parameters come from * 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 : only do decode
* ./mpeg2vldemo <any parameter >: decode+display * ./mpeg2vldemo <any parameter >: decode+display
* *
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
#include <assert.h> #include <assert.h>
#include <va/va.h> #include "va.h"
#include <va/va_x11.h> #include "va_x11.h"
#define CHECK_VASTATUS(va_status,func) \ #define CHECK_VASTATUS(va_status,func) \
if (va_status != VA_STATUS_SUCCESS) { \ if (va_status != VA_STATUS_SUCCESS) { \
......
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