mf: Correctly respond to start attempt from closed state.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
15a9ab9409
commit
23012b1304
|
@ -646,6 +646,10 @@ static void session_start(struct media_session *session, const GUID *time_format
|
||||||
case SESSION_STATE_RUNNING:
|
case SESSION_STATE_RUNNING:
|
||||||
FIXME("Seeking is not implemented.\n");
|
FIXME("Seeking is not implemented.\n");
|
||||||
break;
|
break;
|
||||||
|
case SESSION_STATE_CLOSED:
|
||||||
|
IMFMediaEventQueue_QueueEventParamVar(session->event_queue, MESessionStarted, &GUID_NULL,
|
||||||
|
MF_E_INVALIDREQUEST, NULL);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue