commit | 371a7874fc99d788bf52aee2b3cc4917f62ecc8f | [log] [tgz] |
---|---|---|
author | Nirbheek Chauhan <nirbheek@centricular.com> | Mon Apr 09 17:16:38 2018 +0530 |
committer | Nirbheek Chauhan <nirbheek@centricular.com> | Mon Apr 09 17:26:12 2018 +0530 |
tree | 6e7e744fe1dc5a6a433c4909a1dfc8122de55451 | |
parent | f90613280b53dc333b46043664462d58e296abcf [diff] |
wasapi: Don't open the device in get_caps() We can just return the template caps till the device is opened when going from READY -> PAUSED. This fixes a CRITICAL when calling ELEMENT_ERROR before the ringbuffer is allocated. Also fixes a couple of leaks in error conditions. https://bugzilla.gnome.org/show_bug.cgi?id=794611