mirror of
https://github.com/mpv-player/mpv
synced 2025-04-27 22:00:23 +00:00
client APIs: fix some typos
This commit is contained in:
parent
c6448d7a9b
commit
dd13e29cc2
@ -834,7 +834,7 @@ typedef enum mpv_event_id {
|
|||||||
MPV_EVENT_METADATA_UPDATE = 19,
|
MPV_EVENT_METADATA_UPDATE = 19,
|
||||||
/**
|
/**
|
||||||
* Happens when a seek was initiated. Playback stops. Usually it will
|
* 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,
|
MPV_EVENT_SEEK = 20,
|
||||||
/**
|
/**
|
||||||
|
@ -109,7 +109,7 @@ void pause_player(struct MPContext *mpctx, mpv_event_pause_reason reason)
|
|||||||
end:
|
end:
|
||||||
reason.user_paused = !!mpctx->opts->pause;
|
reason.user_paused = !!mpctx->opts->pause;
|
||||||
reason.real_paused = !!mpctx->paused;
|
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)
|
void unpause_player(struct MPContext *mpctx, mpv_event_pause_reason reason)
|
||||||
|
Loading…
Reference in New Issue
Block a user