mfreadwrite: Shut down source on reader destruction.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
13e7887162
commit
ff9a6e69dd
|
@ -214,6 +214,7 @@ static ULONG WINAPI src_reader_Release(IMFSourceReader *iface)
|
|||
|
||||
if (!refcount)
|
||||
{
|
||||
IMFMediaSource_Shutdown(reader->source);
|
||||
if (reader->descriptor)
|
||||
IMFPresentationDescriptor_Release(reader->descriptor);
|
||||
IMFMediaSource_Release(reader->source);
|
||||
|
|
Loading…
Reference in New Issue