directsoundsink: Check the return value of GetStatus() too to decide if there was...
authorThomas Roos <thomas.roos@industronic.de>
Fri, 11 Dec 2015 10:23:13 +0000 (11:23 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 11 Dec 2015 10:42:04 +0000 (12:42 +0200)
commit4d72fd98842f519c2ec3c0352642b159ffc6ca57
tree9ad4f5fbef1c4873376fa7d2eb2f1384212f6917
parente731fe4af5e988be2f4ad9b1a8170a0c05525614
directsoundsink: Check the return value of GetStatus() too to decide if there was an error

If GetStatus() fails, the status itself won't be very meaningful but we also
have to look at its return value. This fixes blocking pipelines when removing
sound devices or during other errors, where we wouldn't notice the error and
then wait forever.

https://bugzilla.gnome.org/show_bug.cgi?id=734098
sys/directsound/gstdirectsoundsink.c