diff --git a/package/wpe/wpeframework-plugins/Config.in b/package/wpe/wpeframework-plugins/Config.in index 9e68a84c2624..40dfcb8b69c9 100644 --- a/package/wpe/wpeframework-plugins/Config.in +++ b/package/wpe/wpeframework-plugins/Config.in @@ -557,6 +557,24 @@ config BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO help PlayerInfo Plugin provide the information about the platform codec supports +if BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO +config BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY + bool "Dolby support" + default n + +if BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY + +choice BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY_IMPLEMENTATION + prompt "Dolby implementation" + default BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY_IMPLEMENTATION_AMLOGIC + +config BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY_IMPLEMENTATION_AMLOGIC + bool "AMLogic" + +endchoice + +endif +endif config BR2_PACKAGE_WPEFRAMEWORK_POWER select BR2_PACKAGE_WPEFRAMEWORK_PLUGINS diff --git a/package/wpe/wpeframework-plugins/wpeframework-plugins.mk b/package/wpe/wpeframework-plugins/wpeframework-plugins.mk index a484796a9197..0fd871a47081 100644 --- a/package/wpe/wpeframework-plugins/wpeframework-plugins.mk +++ b/package/wpe/wpeframework-plugins/wpeframework-plugins.mk @@ -553,6 +553,12 @@ endif ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO),y) WPEFRAMEWORK_PLUGINS_CONF_OPTS += -DPLUGIN_PLAYERINFO=ON +ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY),y) +WPEFRAMEWORK_PLUGINS_CONF_OPTS += -DDOLBY_SUPPORT=ON +ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_PLAYERINFO_DOLBY_IMPLEMENTATION_AMLOGIC),y) +WPEFRAMEWORK_PLUGINS_CONF_OPTS += -DDOLBY_IMPLEMENTATION="AMLogic" +endif +endif endif ifeq ($(BR2_PACKAGE_WPEFRAMEWORK_POWER),y)