mirror of https://github.com/mpv-player/mpv
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
d2380b13f9
commit
37bfa7052f
|
@ -421,6 +421,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