summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-09-02 09:33:10 +0000
committerAustin Yuan <shengquan.yuan@intel.com>2009-09-03 11:02:35 +0800
commit0b59c605e83d1316e9d92c8a49b24b46ad3d925f (patch)
treed654be06b1805e1d7f9ec40106a653a1efe7d629
parent9664f0b207b48a141200bf392374eef82b3a1d08 (diff)
downloadlibva-0b59c605e83d1316e9d92c8a49b24b46ad3d925f.tar.gz
Drop references to SDS.
-rw-r--r--configure.ac6
-rw-r--r--src/va.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index b37a438..4be2b56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,9 +28,6 @@ m4_define([libva_micro_version], [0])
m4_define([libva_version],
[libva_major_version.libva_minor_version.libva_micro_version])
-# increase this number for each API change
-m4_define([libva_sds_version], [2])
-
# if the library source code has changed, increment revision
m4_define([libva_lt_revision], [0])
# if any interface was added/removed/changed, then inc current, reset revision
@@ -55,9 +52,6 @@ AC_SUBST(LIBVA_MINOR_VERSION)
AC_SUBST(LIBVA_MICRO_VERSION)
AC_SUBST(LIBVA_VERSION)
-LIBVA_SDS_VERSION=libva_sds_version
-AC_SUBST(LIBVA_SDS_VERSION)
-
LIBVA_LT_CURRENT=libva_lt_current
LIBVA_LT_REV=libva_lt_revision
LIBVA_LT_AGE=libva_lt_age
diff --git a/src/va.c b/src/va.c
index 9a34534..c3f0868 100644
--- a/src/va.c
+++ b/src/va.c
@@ -40,7 +40,6 @@
#define DRIVER_INIT_FUNC "__vaDriverInit_0_31"
-#define DRIVER_INIT_FUNC_SDS "__vaDriverInit_0_31_sds"
#define DRIVER_EXTENSION "_drv_video.so"
@@ -171,11 +170,6 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
init_func = (VADriverInit) dlsym(handle, DRIVER_INIT_FUNC);
if (!init_func)
{
- /* Then try SDS extensions (VDPAU and XvBA backends) */
- init_func = (VADriverInit) dlsym(handle, DRIVER_INIT_FUNC_SDS);
- }
- if (!init_func)
- {
va_errorMessage("%s has no function %s\n", driver_path, DRIVER_INIT_FUNC);
dlclose(handle);
}