gst1-plugins-bad: add assrender option
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Feb 2014 10:13:15 +0000 (11:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Feb 2014 10:13:15 +0000 (11:13 +0100)
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 95d1f1346b70fca61f19dcc09037de1f69df153e..25be9cea2aa0646cae9ff2677a327aa472b24996 100644 (file)
@@ -318,6 +318,10 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK
        bool "apexsink"
        select BR2_PACKAGE_OPENSSL
 
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER
+       bool "assrender"
+       select BR2_PACKAGE_LIBASS
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC
        bool "voaacenc"
        select BR2_PACKAGE_VO_AACENC
index 1ad76fe8c4b1beb7ab5dfb4093b6d139ab4d58e2..dbd0625379de60f8cdfc3e8e936621cd4e082bac 100644 (file)
@@ -39,7 +39,6 @@ GST1_PLUGINS_BAD_CONF_OPT += \
        --disable-mfc \
        --disable-opensles \
        --disable-uvch264 \
-       --disable-assrender \
        --disable-voamrwbenc \
        --disable-chromaprint \
        --disable-dash \
@@ -510,6 +509,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPT += --disable-apexsink
 endif
 
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y)
+GST1_PLUGINS_BAD_CONF_OPT += --enable-assrender
+GST1_PLUGINS_BAD_DEPENDENCIES += libass
+else
+GST1_PLUGINS_BAD_CONF_OPT += --disable-assrender
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
 GST1_PLUGINS_BAD_CONF_OPT += --enable-voaacenc
 GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc