summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2017-01-08 10:18:25 -0200
committerPeter Korsgaard <peter@korsgaard.com>2017-01-09 13:01:21 +0100
commit43d24b533496d7a1d8bf949db750e20d68b79660 (patch)
tree2018258290fc0edaac201d330cbb56b41f6e434e
parent3413191dcc667cf26ea6a012b386e65166f99589 (diff)
downloadbuildroot-43d24b533496d7a1d8bf949db750e20d68b79660.tar.gz
buildroot-43d24b533496d7a1d8bf949db750e20d68b79660.zip
gst1-plugins-bad: Add kmssink support
Add support for the KMS video sink element. From the Gstreamer 1.10 release notes: "New element kmssink to render video using Direct Rendering Manager (DRM) and Kernel Mode Setting (KMS) subsystems in the Linux kernel. It is oriented to be used mostly in embedded systems." Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/gstreamer1/gst1-plugins-bad/Config.in7
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk7
2 files changed, 14 insertions, 0 deletions
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 16c0b7e3f2..6bec362db0 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -549,6 +549,13 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS
help
Fragmented streaming plugins
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS
+ bool "kmssink"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs
+ select BR2_PACKAGE_LIBDRM
+ help
+ KMS video sink
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS
bool "libmms"
depends on BR2_USE_WCHAR # libmms -> libglib2
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index ba9f30542e..4d629f53c7 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -680,6 +680,13 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += --disable-hls
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS),y)
+GST1_PLUGINS_BAD_CONF_OPTS += --enable-kms
+GST1_PLUGINS_BAD_DEPENDENCIES += libdrm
+else
+GST1_PLUGINS_BAD_CONF_OPTS += --disable-kms
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y)
GST1_PLUGINS_BAD_CONF_OPTS += --enable-libmms
GST1_PLUGINS_BAD_DEPENDENCIES += libmms
OpenPOWER on IntegriCloud