mf: Shut down quality manager on session shutdown.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
360b7ec299
commit
431afba5cf
|
@ -907,6 +907,8 @@ static HRESULT WINAPI mfsession_Shutdown(IMFMediaSession *iface)
|
|||
{
|
||||
session->state = SESSION_STATE_SHUT_DOWN;
|
||||
IMFMediaEventQueue_Shutdown(session->event_queue);
|
||||
if (session->quality_manager)
|
||||
IMFQualityManager_Shutdown(session->quality_manager);
|
||||
}
|
||||
LeaveCriticalSection(&session->cs);
|
||||
|
||||
|
|
Loading…
Reference in New Issue