wasapi2: cannot get device provider factory "wasapi2deviceprovider"
Describe your issue
Getting the wasapi2 device provider doesn't seem to work properly.
Expected Behavior
Calling auto provider = gst_device_provider_factory_get_by_name("wasapi2deviceprovider");
returns the wasapi2 device provider.
Observed Behavior
Calling auto provider = gst_device_provider_factory_get_by_name("wasapi2deviceprovider");
returns null and I get this message in the log :
GST_DEVICE_PROVIDER_FACTORY gstdeviceproviderfactory.c:377:gst_device_provider_factory_get_by_name: no such device provider factory "wasapi2deviceprovider"!
The plugin seems to have loaded properly because, before that, I got this message when a wasapi2sink was created :
GST_PLUGIN_LOADING gstplugin.c:984:_priv_gst_plugin_load_file_for_registry: plugin "I:\gstreamer\1.0\msvc_x86_64\lib\gstreamer-1.0\gstwasapi2.dll" loaded
GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "wasapi2sink"
Setup
- Operating System: Windows 11
- Device: Computer
- GStreamer Version: 1.20.2
- Command line: None, C++ application
Steps to reproduce the bug
How reproducible is the bug?
Always
Screenshots if relevant
Solutions you have tried
Related non-duplicate issues
Additional Information
Using the same function with the "wasapideviceprovider" parameter does work.