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:
parent
822abde8a4
commit
2f05ee9ba9
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user