All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] gst1-plugins-bad: fix webrtc option
@ 2017-07-04  9:50 Peter Korsgaard
  2017-07-04 15:48 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2017-07-04  9:50 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=4c06d2490a07f0b88f42c56c7409899fd2f5608a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

When the WebRTC plugin option was introduced in commit
ee267886bc090335dd94c97dca1c294addccc090 ("gst1-plugins-bad: enable
webrtc plugin"), it was incorrect added as "webrtc", while the actual
name of the plugin and corresponding configure option is "webrtcdsp".

This commit therefore fixes the .mk file to use the correct name. And
also, since we want to keep Buildroot option consistent with the name
of the GStreamer plugins, it renames the Config.in option as well, and
introduces the necessary Config.in.legacy handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 Config.in.legacy                                        | 10 ++++++++++
 package/gstreamer1/gst1-plugins-bad/Config.in           |  6 +++---
 package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk |  6 +++---
 3 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 453c5eb..ddb0ffe 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -145,6 +145,16 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2017.08"
 
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
+	bool "gst1-plugins-bad webrtc renamed to webrtcdsp"
+	select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP
+	select BR2_LEGACY
+	help
+	  The WebRTC plugin in GStreamer 1.x has always been named
+	  webrtcdsp, but was wrongly introduced in Buildroot under the
+	  name webrtc. Therefore, we have renamed the option to match
+	  the actual name of the GStreamer plugin.
+
 config BR2_STRIP_none
 	bool "Strip command 'none' has been removed"
 	select BR2_LEGACY
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 17cc22b..fd3ca93 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -698,8 +698,8 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP
 	help
 	  Webp image format plugin
 
-config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
-	bool "webrtc"
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP
+	bool "webrtcdsp"
 	# All depends from webrtc-audio-processing
 	depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
 	depends on BR2_INSTALL_LIBSTDCPP
@@ -710,7 +710,7 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC
 	help
 	  WebRTC echo-cancellation, gain control and noise suppression
 
-comment "webrtc needs a toolchain w/ C++, NPTL, gcc >= 4.8"
+comment "webrtcdsp needs a toolchain w/ C++, NPTL, gcc >= 4.8"
 	depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
 		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index ffc9ab4..46dd14c 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -813,11 +813,11 @@ else
 GST1_PLUGINS_BAD_CONF_OPTS += --disable-webp
 endif
 
-ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
-GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtc
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP),y)
+GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtcdsp
 GST1_PLUGINS_BAD_DEPENDENCIES += webrtc-audio-processing
 else
-GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtc
+GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtcdsp
 endif
 
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265),y)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [git commit] gst1-plugins-bad: fix webrtc option
  2017-07-04  9:50 [Buildroot] [git commit] gst1-plugins-bad: fix webrtc option Peter Korsgaard
@ 2017-07-04 15:48 ` Peter Korsgaard
  2019-03-10  6:50   ` fancychao
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2017-07-04 15:48 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=4c06d2490a07f0b88f42c56c7409899fd2f5608a
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > When the WebRTC plugin option was introduced in commit
 > ee267886bc090335dd94c97dca1c294addccc090 ("gst1-plugins-bad: enable
 > webrtc plugin"), it was incorrect added as "webrtc", while the actual
 > name of the plugin and corresponding configure option is "webrtcdsp".

 > This commit therefore fixes the .mk file to use the correct name. And
 > also, since we want to keep Buildroot option consistent with the name
 > of the GStreamer plugins, it renames the Config.in option as well, and
 > introduces the necessary Config.in.legacy handling.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2017.02.x and 2017.05.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [git commit] gst1-plugins-bad: fix webrtc option
  2017-07-04 15:48 ` Peter Korsgaard
@ 2019-03-10  6:50   ` fancychao
  2019-03-10 17:33     ` Peter Seiderer
  0 siblings, 1 reply; 4+ messages in thread
From: fancychao @ 2019-03-10  6:50 UTC (permalink / raw)
  To: buildroot

Hi,

Sorry if I read this wrong: it seems like webrtcdsp and webrtc are different
plugin. I was looking for the webrtcbin element in the latest rootfs but it
didn't exist. Do you know if this change has removed the webrtc plugin?



--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [git commit] gst1-plugins-bad: fix webrtc option
  2019-03-10  6:50   ` fancychao
@ 2019-03-10 17:33     ` Peter Seiderer
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Seiderer @ 2019-03-10 17:33 UTC (permalink / raw)
  To: buildroot

Hello fancychao,

On Sun, 10 Mar 2019 00:50:37 -0600 (CST), fancychao <fanchao@fastmail.com> wrote:

> Hi,
> 
> Sorry if I read this wrong: it seems like webrtcdsp and webrtc are different
> plugin. I was looking for the webrtcbin element in the latest rootfs but it
> didn't exist. Do you know if this change has removed the webrtc plugin?

No, this bulildroot commit (for gstreamer-1.10.x) predates the introduction
of the new webrtc/webrtcbin plugin (since gstreamer-1.14.x, see [1]).

A new buildroot gst1-plugins-bad option for it is missing...

Regards,
Peter

[1] https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1894293d6378c69548d974d2965e9decc1527654

> 
> 
> 
> --
> Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-10 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-04  9:50 [Buildroot] [git commit] gst1-plugins-bad: fix webrtc option Peter Korsgaard
2017-07-04 15:48 ` Peter Korsgaard
2019-03-10  6:50   ` fancychao
2019-03-10 17:33     ` Peter Seiderer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.