From bc3e07dc21cf94d3e6ec9ae9f86d202f4dafc715 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 30 Jun 2022 16:14:27 +0300 Subject: [PATCH] gstalsaplugin: return the result of the element registration Previously there were branches that would return FALSE, however it looks like we forgot to return the new result variable. https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/900 Part-of: --- subprojects/gst-plugins-base/ext/alsa/gstalsaplugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/ext/alsa/gstalsaplugin.c b/subprojects/gst-plugins-base/ext/alsa/gstalsaplugin.c index 87803c6318..e7894d28ed 100644 --- a/subprojects/gst-plugins-base/ext/alsa/gstalsaplugin.c +++ b/subprojects/gst-plugins-base/ext/alsa/gstalsaplugin.c @@ -39,7 +39,7 @@ plugin_init (GstPlugin * plugin) ret |= GST_ELEMENT_REGISTER (alsasink, plugin); ret |= GST_ELEMENT_REGISTER (alsamidisrc, plugin); - return TRUE; + return ret; } GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,