mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
player: make a function static
This commit is contained in:
@@ -587,7 +587,6 @@ void mp_wakeup_core(struct MPContext *mpctx);
|
||||
void mp_wakeup_core_cb(void *ctx);
|
||||
void mp_core_lock(struct MPContext *mpctx);
|
||||
void mp_core_unlock(struct MPContext *mpctx);
|
||||
void mp_process_input(struct MPContext *mpctx);
|
||||
double get_relative_time(struct MPContext *mpctx);
|
||||
void reset_playback_state(struct MPContext *mpctx);
|
||||
void set_pause_state(struct MPContext *mpctx, bool user_pause);
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ void mp_core_unlock(struct MPContext *mpctx)
|
||||
}
|
||||
|
||||
// Process any queued user input.
|
||||
void mp_process_input(struct MPContext *mpctx)
|
||||
static void mp_process_input(struct MPContext *mpctx)
|
||||
{
|
||||
for (;;) {
|
||||
mp_cmd_t *cmd = mp_input_read_cmd(mpctx->input);
|
||||
|
||||
Reference in New Issue
Block a user