actually set volume level in video...also swap 0 with very small value, since 0 dont seem to work

This commit is contained in:
Thomas Hansen 2011-03-07 06:09:33 -06:00
parent 25ec0a3d4f
commit ce678ef2ce
1 changed files with 4 additions and 0 deletions

View File

@ -120,3 +120,7 @@ class Video(Image):
def _on_eos(self, *largs):
self.eos = True
def on_volume(self, instance, value):
if self._video:
self._video.volume = max(value, .0000001)