From 41d7989800aef7b52affdddf0a5f539fb2a1d562 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Aug 2015 23:56:56 +0200 Subject: DOCS/client_api_examples/sdl: don't curse the mainloop Fix a typo, and also reword another comment. --- DOCS/client_api_examples/sdl/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/client_api_examples/sdl/main.c b/DOCS/client_api_examples/sdl/main.c index af84d2a39b..ae4b2b25b0 100644 --- a/DOCS/client_api_examples/sdl/main.c +++ b/DOCS/client_api_examples/sdl/main.c @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) // We use events for thread-safe notification of the SDL main loop. // Generally, the wakeup callbacks (set further below) should do as least // work as possible, and merely wake up another thread to do actual work. - // On SDL, waking up the mainloop is the ideal curse of action. SDL's + // On SDL, waking up the mainloop is the ideal course of action. SDL's // SDL_PushEvent() is thread-safe, so we use that. wakeup_on_mpv_redraw = SDL_RegisterEvents(1); wakeup_on_mpv_events = SDL_RegisterEvents(1); @@ -94,7 +94,7 @@ int main(int argc, char *argv[]) // users which run OpenGL on a different thread.) mpv_opengl_cb_set_update_callback(mpv_gl, on_mpv_redraw, NULL); - // Play this file. Note that this asynchronously starts playback. + // Play this file. Note that this starts playback asynchronously. const char *cmd[] = {"loadfile", argv[1], NULL}; mpv_command(mpv, cmd); -- cgit v1.2.3