From: Bernd Kuhls Date: Wed, 6 Sep 2017 20:49:07 +0000 (+0200) Subject: package/tvheadend: add optional support for libva-accelerated transcoding X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14670c2ce2f60cd038dddcf99a42810939e5c412;p=buildroot.git package/tvheadend: add optional support for libva-accelerated transcoding Signed-off-by: Bernd Kuhls Reviewed-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index 4722cb006f..ee3607ae9f 100644 --- a/package/tvheadend/tvheadend.mk +++ b/package/tvheadend/tvheadend.mk @@ -29,6 +29,12 @@ endif ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y) TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264 TVHEADEND_DEPENDENCIES += ffmpeg x264 +ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_XORG7),yy) +TVHEADEND_CONF_OPTS += --enable-vaapi +TVHEADEND_DEPENDENCIES += libva +else +TVHEADEND_CONF_OPTS += --disable-vaapi +endif ifeq ($(BR2_PACKAGE_OPUS),y) TVHEADEND_CONF_OPTS += --enable-libopus TVHEADEND_DEPENDENCIES += opus @@ -45,6 +51,7 @@ else TVHEADEND_CONF_OPTS += \ --disable-libav \ --disable-libopus \ + --disable-vaapi \ --disable-libx264 \ --disable-libx265 endif