wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
authorSeungha Yang <seungha@centricular.com>
Tue, 24 Jan 2023 14:26:50 +0000 (23:26 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Jan 2023 03:23:05 +0000 (03:23 +0000)
commite62800f20c1e11a3c172c1963d9e4bede5e2a117
tree1dd5a10c7b24dc502f5eea69e99cf7479098fb74
parenta562ab7c6fb2e337d0aabbf8a05d1dff76dfce1f
wasapi2src: Fix loopback capture on Windows 10 Anniversary Update

... or older. Work around an OS bug that loopback capture
device doesn't notify event.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1738
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3820>
subprojects/gst-plugins-bad/sys/wasapi2/gstwasapi2ringbuffer.cpp