mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
gst: add option to disable device provider
This commit is contained in:
parent
10bc423819
commit
4b7b2a9a10
5 changed files with 18 additions and 1 deletions
|
|
@ -53,9 +53,11 @@ plugin_init (GstPlugin *plugin)
|
|||
gst_element_register (plugin, "pipewiresink", GST_RANK_NONE,
|
||||
GST_TYPE_PIPEWIRE_SINK);
|
||||
|
||||
#if HAVE_GSTREAMER_DEVICE_PROVIDER
|
||||
if (!gst_device_provider_register (plugin, "pipewiredeviceprovider",
|
||||
GST_RANK_PRIMARY + 1, GST_TYPE_PIPEWIRE_DEVICE_PROVIDER))
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (pipewire_debug, "pipewire", 0, "PipeWire elements");
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,16 @@ pipewire_gst_sources = [
|
|||
'gstpipewire.c',
|
||||
'gstpipewirecore.c',
|
||||
'gstpipewireclock.c',
|
||||
'gstpipewiredeviceprovider.c',
|
||||
'gstpipewireformat.c',
|
||||
'gstpipewirepool.c',
|
||||
'gstpipewiresink.c',
|
||||
'gstpipewiresrc.c',
|
||||
]
|
||||
|
||||
if get_option('gstreamer-device-provider')
|
||||
pipewire_gst_sources += [ 'gstpipewiredeviceprovider.c' ]
|
||||
endif
|
||||
|
||||
pipewire_gst_headers = [
|
||||
'gstpipewireclock.h',
|
||||
'gstpipewirecore.h',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue