Commit ab80ee17 authored by Derek Lesho's avatar Derek Lesho Committed by Alexandre Julliard

winegstreamer/media_source: Close bytestream in ::Shutdown.

parent 698cc602
......@@ -1080,7 +1080,6 @@ static void test_source_resolver(void)
hr = IMFMediaSource_Shutdown(mediasource);
ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
todo_wine
ok(bytestream_closed, "Missing IMFByteStream::Close call\n");
hr = IMFMediaSource_CreatePresentationDescriptor(mediasource, NULL);
......
......@@ -1344,6 +1344,7 @@ static HRESULT WINAPI media_source_Shutdown(IMFMediaSource *iface)
IMFPresentationDescriptor_Release(source->pres_desc);
IMFMediaEventQueue_Shutdown(source->event_queue);
IMFByteStream_Close(source->byte_stream);
IMFByteStream_Release(source->byte_stream);
for (i = 0; i < source->stream_count; i++)
......
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