Nikolay Sivov : mf/session: Fix comment for the stop helper.
Alexandre Julliard
julliard at winehq.org
Mon Nov 23 15:43:24 CST 2020
Module: wine
Branch: master
Commit: 98f5112c1a57e4eb2dd0d09a12d3db2651586d8e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=98f5112c1a57e4eb2dd0d09a12d3db2651586d8e
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Nov 23 17:34:36 2020 +0300
mf/session: Fix comment for the stop helper.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
More information about the wine-cvs
mailing list