aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-05-21 20:04:35 -0500
committerTom Zanussi <tom.zanussi@intel.com>2012-05-30 14:22:51 -0500
commit968099df3dca70b30f484136de55c2fafb853110 (patch)
tree576906543630a489a0bb36fca58fb96e232d81e3
parente2ca4f157d647f89e155ede81cbc5b1c7fecd719 (diff)
downloadmeta-intel-968099df3dca70b30f484136de55c2fafb853110.tar.gz
meta-intel-968099df3dca70b30f484136de55c2fafb853110.tar.bz2
meta-intel-968099df3dca70b30f484136de55c2fafb853110.zip
ffmpeg: add --enable-vaapi
Turn on vaapi support in ffmpeg to allow video acceleration via vaapi. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--common/recipes-multimedia/ffmpeg/ffmpeg.inc2
-rw-r--r--common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb1
2 files changed, 2 insertions, 1 deletions
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg.inc b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
index fc8b8544..aa11ee99 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg.inc
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg.inc
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+ & LGPLv2.1+"
ARM_INSTRUCTION_SET = "arm"
-DEPENDS = "zlib libogg libvorbis libtheora liba52"
+DEPENDS = "zlib libogg libvorbis libtheora liba52 libva"
INC_PR = "r0"
diff --git a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
index 023c25f3..5442b0de 100644
--- a/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
+++ b/common/recipes-multimedia/ffmpeg/ffmpeg_0.7.12.bb
@@ -25,6 +25,7 @@ EXTRA_OECONF = " \
--enable-pthreads \
--enable-shared \
--enable-swscale \
+ --enable-vaapi \
--extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \
--extra-ldflags="${TARGET_LDFLAGS}" \
--sysroot="${STAGING_DIR_TARGET}" \