mf: Allow restarting from paused state.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
43fd6bd94a
commit
d4cc70e1b6
|
@ -614,6 +614,7 @@ static void session_start(struct media_session *session, const GUID *time_format
|
||||||
switch (session->state)
|
switch (session->state)
|
||||||
{
|
{
|
||||||
case SESSION_STATE_STOPPED:
|
case SESSION_STATE_STOPPED:
|
||||||
|
case SESSION_STATE_PAUSED:
|
||||||
|
|
||||||
session->presentation.time_format = *time_format;
|
session->presentation.time_format = *time_format;
|
||||||
session->presentation.start_position.vt = VT_EMPTY;
|
session->presentation.start_position.vt = VT_EMPTY;
|
||||||
|
|
Loading…
Reference in New Issue