package/tvheadend: add optional support for libva-accelerated transcoding

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Bernd Kuhls 2017-09-06 22:49:07 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 7e0633439e
commit 14670c2ce2

View File

@ -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