Add timeline seeking on scroll wheel, and normalize _rounding options into _step

This commit is contained in:
Tomas Sardyha
2020-04-20 21:25:26 +02:00
parent a23012d074
commit c5f320b1bc
3 changed files with 37 additions and 24 deletions

View File

@@ -52,6 +52,8 @@ timeline_opacity=0.8
# top (and bottom in no-border mode) border of background color to help visually
# separate elapsed bar from a video of similar color or desktop background
timeline_border=1
# when scrolling above timeline, wheel will seek by this amount of seconds
timeline_step=5
# display seekable buffered ranges for streaming videos, syntax `color:opacity`,
# color is an BBGGRR hex code, set to empty or `no` to disable
timeline_cached_ranges=345433:0.5
@@ -69,8 +71,8 @@ volume_size=40
volume_size_fullscreen=40
volume_opacity=0.8
volume_border=1
# when dragging the slider, volume will round to increments of this value
volume_rounding=1
# when dragging/scrolling the slider, volume will change by increments of this value
volume_step=1
# briefly show volume slider on external changes (e.g. changed by a hotkey)
volume_flash=yes
@@ -79,8 +81,8 @@ speed=no
speed_size=35
speed_size_fullscreen=50
speed_opacity=1
# when dragging the slider, speed will round to increments of this value
speed_rounding=0.1
# when dragging/scrolling the slider, speed will change by increments of this value
speed_step=0.1
# briefly show speed slider on external changes (e.g. changed by a hotkey)
speed_flash=yes