[Buildroot] How to enable rtmp support in gst1-plugins-bad?
sonntex
sonntex at gmail.com
Wed May 4 11:01:31 UTC 2016
I remade patch using git format-patch. Gustavo, is it what do you want?
>From f03e8de9b664f4aec27c1412de6aea6be80288b7 Mon Sep 17 00:00:00 2001
From: Nikolay Beloborodov <sonntex at gmail.com>
Date: Wed, 4 May 2016 17:39:21 +0300
Subject: gst1-plugins-bad: add rtmp support
---
package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++--
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in
b/package/gstreamer1/gst1-plugins-bad/Config.in
index a9667af..afbe2bf 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -382,8 +382,8 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE
help
Removes silence from an audio stream
-config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP
- bool "rtp"
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP
+ bool "rtmp"
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI
bool "sdi"
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index a92c4a6..30c4999 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -479,10 +479,11 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += --disable-removesilence
endif
-ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP),y)
-GST1_PLUGINS_BAD_CONF_OPTS += --enable-rtp
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP),y)
+GST1_PLUGINS_BAD_CONF_OPTS += --enable-rtmp
+GST1_PLUGINS_BAD_DEPENDENCIES += rtmpdump
else
-GST1_PLUGINS_BAD_CONF_OPTS += --disable-rtp
+GST1_PLUGINS_BAD_CONF_OPTS += --disable-rtmp
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI),y)
--
2.7.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160504/581fd847/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 1725 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160504/581fd847/attachment.obj>
More information about the buildroot
mailing list