Skip to content

pulsesrc: fix checking for invalid stream index

Marc-André Lureau requested to merge elmarco/gst-plugins-good:pulse into master

PA_INVALID_INDEX, the default value, is unfortunately !0.

Setting the volume before the stream is created will put the ring buffer in error state. Unfortunately, that's what spice-gtk does.

Edited by Marc-André Lureau

Merge request reports