mirror of https://github.com/kivy/kivy.git
video progressbar: fix graphic glitch when duration is not known (http streaming report -1e-09...
This commit is contained in:
parent
32c14702c3
commit
09c2f52925
|
@ -738,7 +738,7 @@
|
||||||
|
|
||||||
VideoPlayerProgressBar:
|
VideoPlayerProgressBar:
|
||||||
video: root
|
video: root
|
||||||
max: root.duration or 1
|
max: max(root.duration, root.position, 1)
|
||||||
value: root.position
|
value: root.position
|
||||||
|
|
||||||
Widget:
|
Widget:
|
||||||
|
|
Loading…
Reference in New Issue