gst1-vaapi: add optional encoder support
Signed-off-by: Adam Duskett <Adamduskett@outlook.com> [Thomas: pass explicit --enable-encoders.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c1e4e8545d
commit
d5c7f00987
@ -38,6 +38,13 @@ config BR2_PACKAGE_GST1_VAAPI
|
||||
|
||||
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi
|
||||
|
||||
if BR2_PACKAGE_GST1_VAAPI
|
||||
|
||||
config BR2_PACKAGE_GST1_VAAPI_ENCODERS
|
||||
bool "enable encoders"
|
||||
|
||||
endif
|
||||
|
||||
comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_PACKAGE_HAS_UDEV
|
||||
|
@ -18,11 +18,16 @@ GST1_VAAPI_DEPENDENCIES += \
|
||||
libdrm
|
||||
|
||||
GST1_VAAPI_CONF_OPTS += \
|
||||
--disable-encoders \
|
||||
--disable-x11 \
|
||||
--disable-glx \
|
||||
--disable-wayland \
|
||||
--disable-egl \
|
||||
--disable-gtk-doc-html
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y)
|
||||
GST1_VAAPI_CONF_OPTS += --enable-encoders
|
||||
else
|
||||
GST1_VAAPI_CONF_OPTS += --disable-encoders
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user