Commit 6fcb2c23 authored by Vincent Dehors's avatar Vincent Dehors Committed by Peter Korsgaard
Browse files

package/gstreamer1: Allow to build OpenJPEG plugin



The OpenJPEG library is packaged in buildroot (version 1) and there is a
plugin "openjpeg" using it in gst1-plugins-bad. This commit add the option
for building this plugin. It provide a JPEG2000 encoder and decoder.

[Peter: use 'select' instead of 'depends on', sort alphabetically]
Signed-off-by: default avatarVincent Dehors <vincent.dehors@openwide.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent e65a856b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -597,6 +597,12 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264
	bool "openh264"
	select BR2_PACKAGE_LIBOPENH264

config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG
	bool "openjpeg"
	select BR2_PACKAGE_OPENJPEG
	help
	  GStreamer OpenJPEG plugin

config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
	bool "opus"
	select BR2_PACKAGE_OPUS
+7 −1
Original line number Diff line number Diff line
@@ -58,7 +58,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
	--disable-nas \
	--disable-ofa \
	--disable-openexr \
	--disable-openjpeg \
	--disable-openni2 \
	--disable-pvr \
	--disable-libvisual \
@@ -715,6 +714,13 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += --disable-opencv
endif

ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG),y)
GST1_PLUGINS_BAD_CONF_OPTS += --enable-openjpeg
GST1_PLUGINS_BAD_DEPENDENCIES += openjpeg
else
GST1_PLUGINS_BAD_CONF_OPTS += --disable-openjpeg
endif

ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y)
GST1_PLUGINS_BAD_CONF_OPTS += --enable-opus
GST1_PLUGINS_BAD_DEPENDENCIES += opus