Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/mf/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mf/session.c b/dlls/mf/session.c index 19da9a24464..6d4b58289d8 100644 --- a/dlls/mf/session.c +++ b/dlls/mf/session.c @@ -1022,7 +1022,7 @@ static void session_pause(struct media_session *session) { case SESSION_STATE_STARTED:
- /* Transition in two steps - pause clock, wait for sinks and pause sources. */ + /* Transition in two steps - pause the clock, wait for sinks, then pause sources. */ if (SUCCEEDED(hr = IMFPresentationClock_Pause(session->clock))) session->state = SESSION_STATE_PAUSING_SINKS;
@@ -1061,7 +1061,7 @@ static void session_stop(struct media_session *session) case SESSION_STATE_STARTED: case SESSION_STATE_PAUSED:
- /* Transition in two steps - pause clock, wait for sinks and pause sources. */ + /* Transition in two steps - stop the clock, wait for sinks, then stop sources. */ IMFPresentationClock_GetTime(session->clock, &session->presentation.clock_stop_time); if (SUCCEEDED(hr = IMFPresentationClock_Stop(session->clock))) session->state = SESSION_STATE_STOPPING_SINKS;