wasapisrc: fails to negotiate stream when applying a mix matrix
Summary: When using the wasapisrc plugin, I am able to successfully set up a pipeline as follows:
wasapisrc ! queue ! audioconvert ! audioresample ! opusenc ! fakesink
However, when adding the mix-matrix parameter to audioconvert, as in
wasapisrc ! queue ! audioconvert mix-matrix="<<(float)1, (float)0>, <(float)0, (float)1>>" ! audioresample ! opusenc ! fakesink
The pipeline fails with the output
ERROR: from element /GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0:
streaming stopped, reason not-negotiated (-4)
Full log attached mix_matrix.log
Environment: Windows 10