mirror of
https://github.com/mpv-player/mpv
synced 2025-02-14 02:46:59 +00:00
osd: show left arrow when playing backwards
If playback direction is backwards, display a triangle pointing to the left as status symbol of OSD.
This commit is contained in:
parent
5631d83b5f
commit
2414051d76
@ -412,6 +412,8 @@ void get_current_osd_sym(struct MPContext *mpctx, char *buf, size_t buf_size)
|
||||
sym = OSD_CLOCK;
|
||||
} else if (mpctx->paused || mpctx->step_frames) {
|
||||
sym = OSD_PAUSE;
|
||||
} else if (mpctx->play_dir < 0 ) {
|
||||
sym = OSD_REV;
|
||||
} else {
|
||||
sym = OSD_PLAY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user