Commit 2f05ee9b authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Sebastian Dröge
Browse files

wasapisink: Don't call CoUninitialize() twice in unprepare()

It has to be symmetric with CoInitialize(), otherwise everything else
will fail.
parent 822abde8
Pipeline #13799 passed with stages
in 78 minutes and 8 seconds
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment