diff options
author | wm4 <wm4@nowhere> | 2015-08-17 23:56:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-17 23:56:56 +0200 |
commit | 41d7989800aef7b52affdddf0a5f539fb2a1d562 (patch) | |
tree | e19f2fc5c1b3fb764ecdf74a971f0fa5a8af7bfb /DOCS/client_api_examples | |
parent | 6894858bf23d48f62cb28b309481cded8bcd43b4 (diff) | |
download | mpv-41d7989800aef7b52affdddf0a5f539fb2a1d562.tar.bz2 mpv-41d7989800aef7b52affdddf0a5f539fb2a1d562.tar.xz |
DOCS/client_api_examples/sdl: don't curse the mainloop
Fix a typo, and also reword another comment.
Diffstat (limited to 'DOCS/client_api_examples')
-rw-r--r-- | DOCS/client_api_examples/sdl/main.c | 4 |
1 files 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); |