gst1-plugins-bad: add rtmp support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 3 May 2016 19:56:51 +0000 (16:56 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 5 May 2016 06:30:47 +0000 (08:30 +0200)
As pointed by sonnex on the mailing list.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-bad/Config.in
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk

index 53ce589d3a0303061a7e7ac64c69dae799b4a7cc..facfe58dcc53fb26f934dfde1b4369927d644892 100644 (file)
@@ -382,6 +382,12 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE
        help
          Removes silence from an audio stream
 
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP
+       bool "rtmp"
+       select BR2_PACKAGE_RTMPDUMP
+       help
+         RTMP plugin
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI
        bool "sdi"
 
index 6d8cac7c2a15745576ec5256f5e5a8d1259a3700..e2446a3c250eabb622f56c31a5f153144124b96b 100644 (file)
@@ -479,6 +479,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPTS += --disable-removesilence
 endif
 
+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-rtmp
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI),y)
 GST1_PLUGINS_BAD_CONF_OPTS += --enable-sdi
 else