Commit ada440a5 authored by Thibault Saunier's avatar Thibault Saunier

pulse-device: Hide the alsa device provider if we provide alsa devices

parent 037d70c0
Pipeline #34113 passed with stages
in 158 minutes and 42 seconds
......@@ -207,6 +207,10 @@ new_source (GstPulseDeviceProvider * self, const pa_source_info * info)
props = gst_pulse_make_structure (info->proplist);
if (!g_strcmp0 (gst_structure_get_string (props, "device.api"), "alsa"))
gst_device_provider_hide_provider (GST_DEVICE_PROVIDER (self),
return gst_pulse_device_new (info->index, info->description,
caps, info->name, GST_PULSE_DEVICE_TYPE_SOURCE, props,
!g_strcmp0 (info->name, self->default_source_name));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment