summaryrefslogtreecommitdiff
path: root/src/va.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-07-08 07:48:10 +0000
committerAustin Yuan <shengquan.yuan@intel.com>2009-07-08 17:42:05 +0800
commit4f1b4898eb71b07397095fb22122182bc4f7191d (patch)
treef67bfa1fc954d7681997617eb3b2a5394aad9d09 /src/va.c
parent31d02ddc2acb7276f4031c1db310f6aeafadd10f (diff)
Install drivers into pkglibdir/va/.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'src/va.c')
-rw-r--r--src/va.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/va.c b/src/va.c
index 3c07386..ce6961a 100644
--- a/src/va.c
+++ b/src/va.c
@@ -47,7 +47,6 @@
#define VA_MINOR_VERSION 30
#define DRIVER_INIT_FUNC "__vaDriverInit_0_30"
-#define DEFAULT_DRIVER_DIR "/usr/lib/dri/"
#define DRIVER_EXTENSION "_drv_video.so"
#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
@@ -153,7 +152,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
}
if (!search_path)
{
- search_path = DEFAULT_DRIVER_DIR;
+ search_path = VA_DRIVERS_PATH;
}
search_path = strdup((const char *)search_path);