mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
mdns: allow per feature registration
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
This commit is contained in:
parent
58cf5d9e62
commit
ce5100ef87
1 changed files with 5 additions and 5 deletions
|
@ -23,14 +23,14 @@
|
|||
|
||||
#include "gstmicrodnsdevice.h"
|
||||
|
||||
GST_DEVICE_PROVIDER_REGISTER_DECLARE (microdnsdeviceprovider);
|
||||
GST_DEVICE_PROVIDER_REGISTER_DEFINE (microdnsdeviceprovider,
|
||||
"microdnsdeviceprovider", GST_RANK_PRIMARY, GST_TYPE_MDNS_DEVICE_PROVIDER);
|
||||
|
||||
static gboolean
|
||||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
if (!gst_device_provider_register (plugin, "microdnsdeviceprovider",
|
||||
GST_RANK_PRIMARY, GST_TYPE_MDNS_DEVICE_PROVIDER))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
return GST_DEVICE_PROVIDER_REGISTER (microdnsdeviceprovider, plugin);;
|
||||
}
|
||||
|
||||
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
||||
|
|
Loading…
Reference in a new issue