From 09c2f5292552dbca7100fb2c576f7faa118ace4c Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 4 Dec 2012 16:55:02 +0100 Subject: [PATCH] video progressbar: fix graphic glitch when duration is not known (http streaming report -1e-09... --- kivy/data/style.kv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/data/style.kv b/kivy/data/style.kv index 9eb38067c..b69d66c6c 100644 --- a/kivy/data/style.kv +++ b/kivy/data/style.kv @@ -738,7 +738,7 @@ VideoPlayerProgressBar: video: root - max: root.duration or 1 + max: max(root.duration, root.position, 1) value: root.position Widget: