gst1-plugins-bad: add vo-aacenc option
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Feb 2014 10:04:18 +0000 (11:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Feb 2014 10:04:18 +0000 (11:04 +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 407bf315c61d5d909c39b4dcb82582111c72a8af..95d1f1346b70fca61f19dcc09037de1f69df153e 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_VOAACENC
+       bool "voaacenc"
+       select BR2_PACKAGE_VO_AACENC
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
        bool "bz2"
        select BR2_PACKAGE_BZIP2
index 046f6bcf80a4699ce49ef93032bda1fc58def180..1ad76fe8c4b1beb7ab5dfb4093b6d139ab4d58e2 100644 (file)
@@ -41,7 +41,6 @@ GST1_PLUGINS_BAD_CONF_OPT += \
        --disable-uvch264 \
        --disable-assrender \
        --disable-voamrwbenc \
-       --disable-voaacenc \
        --disable-chromaprint \
        --disable-dash \
        --disable-dc1394 \
@@ -511,6 +510,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPT += --disable-apexsink
 endif
 
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y)
+GST1_PLUGINS_BAD_CONF_OPT += --enable-voaacenc
+GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc
+else
+GST1_PLUGINS_BAD_CONF_OPT += --disable-voaacenc
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y)
 GST1_PLUGINS_BAD_CONF_OPT += --enable-bz2
 GST1_PLUGINS_BAD_DEPENDENCIES += bzip2