diff options
Diffstat (limited to 'src/player_control.c')
-rw-r--r-- | src/player_control.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/player_control.c b/src/player_control.c index 28134ccdc..d9aa2b94c 100644 --- a/src/player_control.c +++ b/src/player_control.c @@ -205,6 +205,14 @@ pc_set_pause(struct player_control *pc, bool pause_flag) } void +pc_set_border_pause(struct player_control *pc, bool border_pause) +{ + player_lock(pc); + pc->border_pause = border_pause; + player_unlock(pc); +} + +void pc_get_status(struct player_control *pc, struct player_status *status) { player_lock(pc); |