diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2009-08-25 03:32:22 +0800 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2009-08-25 03:32:22 +0800 |
commit | fb431c22c4aeb593da780faf4f29573e00b01674 (patch) | |
tree | 5a07bf5241e51210bc490a8d6c8382e6daaace78 /dummy_drv_video | |
parent | 49f5210a0aa8d60000a91f69d7f8ad4a682cad53 (diff) | |
download | libva-20090820_5.1.0.0121.tar.gz |
Sync latest fd.o libva:master20090820_5.1.0.0121
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'dummy_drv_video')
-rw-r--r-- | dummy_drv_video/Makefile.am | 5 | ||||
-rw-r--r-- | dummy_drv_video/dummy_drv_video.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/dummy_drv_video/Makefile.am b/dummy_drv_video/Makefile.am index f782c71..4e75a7b 100644 --- a/dummy_drv_video/Makefile.am +++ b/dummy_drv_video/Makefile.am @@ -21,9 +21,10 @@ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. dummy_drv_video_la_LTLIBRARIES = dummy_drv_video.la -dummy_drv_video_ladir = /usr/lib/dri +dummy_drv_video_ladir = @LIBVA_DRIVERS_PATH@ dummy_drv_video_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,--no-undefined -dummy_drv_video_la_LIBADD = ../src/libva.la +dummy_drv_video_la_LIBADD = $(top_srcdir)/src/$(libvabackendlib) +dummy_drv_video_la_DEPENDENCIES = $(top_srcdir)/src/$(libvabackendlib) AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/../../include/external/ -I$(top_srcdir)/../../include/kmd -DIN_LIBVA dummy_drv_video_la_SOURCES = dummy_drv_video.c object_heap.c diff --git a/dummy_drv_video/dummy_drv_video.c b/dummy_drv_video/dummy_drv_video.c index 20ee3ae..1eb51a0 100644 --- a/dummy_drv_video/dummy_drv_video.c +++ b/dummy_drv_video/dummy_drv_video.c @@ -1211,15 +1211,15 @@ VAStatus dummy_Terminate( VADriverContextP ctx ) return VA_STATUS_SUCCESS; } -VAStatus __vaDriverInit_0_29( VADriverContextP ctx ) +VAStatus __vaDriverInit_0_30( VADriverContextP ctx ) { object_base_p obj; int result; struct dummy_driver_data *driver_data; int i; - ctx->version_major = 0; - ctx->version_minor = 29; + ctx->version_major = VA_MAJOR_VERSION; + ctx->version_minor = VA_MINOR_VERSION; ctx->max_profiles = DUMMY_MAX_PROFILES; ctx->max_entrypoints = DUMMY_MAX_ENTRYPOINTS; ctx->max_attributes = DUMMY_MAX_CONFIG_ATTRIBUTES; |