package/gstreamer1/gst1-plugins-bad: add option to enable uvch264
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
79c5f60ad5
commit
f2f9523c55
@ -595,6 +595,27 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP
|
||||
bool "srtp"
|
||||
select BR2_PACKAGE_LIBSRTP
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_UVCH264
|
||||
bool "uvch264"
|
||||
depends on BR2_PACKAGE_HAS_UDEV # libgudev
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
depends on BR2_USE_MMU # libgudev
|
||||
depends on BR2_USE_WCHAR # libgudev
|
||||
select BR2_PACKAGE_LIBGUDEV
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
UVC compliant H.264 camera source plugin
|
||||
|
||||
comment "uvch264 needs udev /dev management"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_HAS_UDEV
|
||||
|
||||
comment "uvch264 needs a toolchain w/ threads, wchar, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
|
||||
bool "voaacenc"
|
||||
select BR2_PACKAGE_VO_AACENC
|
||||
|
@ -36,7 +36,6 @@ GST1_PLUGINS_BAD_CONF_OPTS = \
|
||||
GST1_PLUGINS_BAD_CONF_OPTS += \
|
||||
-Davtp=disabled \
|
||||
-Dopensles=disabled \
|
||||
-Duvch264=disabled \
|
||||
-Dmsdk=disabled \
|
||||
-Dvoamrwbenc=disabled \
|
||||
-Dbs2b=disabled \
|
||||
@ -722,6 +721,13 @@ else
|
||||
GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_UVCH264),y)
|
||||
GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=enabled
|
||||
GST1_PLUGINS_BAD_DEPENDENCIES += libgudev libusb
|
||||
else
|
||||
GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
|
||||
GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled
|
||||
GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
|
||||
|
Loading…
Reference in New Issue
Block a user