mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue