projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
822abde
)
wasapisink: Don't call CoUninitialize() twice in unprepare()
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 3 Jan 2019 13:49:26 +0000
(15:49 +0200)
committer
Sebastian Dröge
<slomo@coaxion.net>
Thu, 3 Jan 2019 15:21:39 +0000
(15:21 +0000)
It has to be symmetric with CoInitialize(), otherwise everything else
will fail.
sys/wasapi/gstwasapisink.c
patch
|
blob
|
history
diff --git
a/sys/wasapi/gstwasapisink.c
b/sys/wasapi/gstwasapisink.c
index
fd0acee
..
4adebe8
100644
(file)
--- a/
sys/wasapi/gstwasapisink.c
+++ b/
sys/wasapi/gstwasapisink.c
@@
-577,8
+577,6
@@
gst_wasapi_sink_unprepare (GstAudioSink * asink)
{
GstWasapiSink *self = GST_WASAPI_SINK (asink);
- CoUninitialize ();
-
if (self->client != NULL) {
IAudioClient_Stop (self->client);
}