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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2695>
This commit is contained in:
Jordan Petridis 2022-06-30 16:14:27 +03:00 committed by GStreamer Marge Bot
parent b8010e41a1
commit bc3e07dc21

View file

@ -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,