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

It has to be symmetric with CoInitialize(), otherwise everything else
will fail.
This commit is contained in:
Sebastian Dröge 2019-01-03 15:49:26 +02:00 committed by Sebastian Dröge
parent 822abde8a4
commit 2f05ee9ba9

View file

@ -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);
}