diff options
author | Guido Cella <guido@guidocella.xyz> | 2021-07-24 19:11:30 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-07-25 15:32:41 +0000 |
commit | bcf6077b28bdf0379a2671939ea5b79f2db31b51 (patch) | |
tree | ae5a073d50711f8506cc703c800202cfd78e1efc /video/out/opengl/common.h | |
parent | 24c05423a4ed2c02fbc5f9422773b57e37d6646a (diff) | |
download | mpv-bcf6077b28bdf0379a2671939ea5b79f2db31b51.tar.bz2 mpv-bcf6077b28bdf0379a2671939ea5b79f2db31b51.tar.xz |
command: handle changes to image-display-duration
When changing image-display-duration at runtime, make the new value take
effect immediately, rather than from the next playlist-position change.
This allows toggling the slideshow mode while viewing images (without
hacks like executing playlist-play-index current afterwards).
All the conditions are just to be safe since even if you set time_frame
while playing a video, it's immediately overwritten by the next value.
Diffstat (limited to 'video/out/opengl/common.h')
0 files changed, 0 insertions, 0 deletions