summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2014-02-28 23:03:51 +0900
committerwm4 <wm4@nowhere>2014-02-28 20:54:47 +0100
commitdd13e29cc22f53f75d445d00861e65a5ba6a62d9 (patch)
treeacdd34ba449873c64c255ad4db6575756277e4d4
parentc6448d7a9b09abcea21a8e5743964c946200c51d (diff)
downloadmpv-dd13e29cc22f53f75d445d00861e65a5ba6a62d9.tar.bz2
mpv-dd13e29cc22f53f75d445d00861e65a5ba6a62d9.tar.xz
client APIs: fix some typos
-rw-r--r--libmpv/client.h2
-rw-r--r--player/playloop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index b211eea69d..ecc9f09275 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -834,7 +834,7 @@ typedef enum mpv_event_id {
MPV_EVENT_METADATA_UPDATE = 19,
/**
* Happens when a seek was initiated. Playback stops. Usually it will
- * resume with MPV_EVENT_PLAYBACK_START as soon as the seek is finished.
+ * resume with MPV_EVENT_PLAYBACK_RESTART as soon as the seek is finished.
*/
MPV_EVENT_SEEK = 20,
/**
diff --git a/player/playloop.c b/player/playloop.c
index 0989b5116c..9a38b52663 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -109,7 +109,7 @@ void pause_player(struct MPContext *mpctx, mpv_event_pause_reason reason)
end:
reason.user_paused = !!mpctx->opts->pause;
reason.real_paused = !!mpctx->paused;
- mp_notify(mpctx, MPV_EVENT_UNPAUSE, &reason);
+ mp_notify(mpctx, MPV_EVENT_PAUSE, &reason);
}
void unpause_player(struct MPContext *mpctx, mpv_event_pause_reason reason)