From 0b59c605e83d1316e9d92c8a49b24b46ad3d925f Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 2 Sep 2009 09:33:10 +0000 Subject: [PATCH] Drop references to SDS. --- configure.ac | 6 ------ src/va.c | 6 ------ 2 files changed, 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); } -- 2.7.4