From e8f24c5e6ad643c7538c1153c5d1cde3da9f0f25 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 16 Mar 2020 10:14:53 +0800 Subject: [PATCH] bugfix --- kivyblocks/vplayer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kivyblocks/vplayer.py b/kivyblocks/vplayer.py index 47787b1..c02c8a2 100644 --- a/kivyblocks/vplayer.py +++ b/kivyblocks/vplayer.py @@ -169,8 +169,10 @@ class BaseVPlayer(FloatLayout): if self._video.volume > 0.001: self.old_volume = self._video.volume self._video.volume = 0.0 + print('********* set mute ***********',self._video.volume) else: self._video.volume = self.old_volume + print('********* unset mute ***********',self._video.volume) def stop(self): self._video.state = 'stop'