This commit is contained in:
yumoqing 2020-03-16 10:00:54 +08:00
parent c937a3a4dc
commit 5ddf6bb704

View File

@ -154,8 +154,9 @@ class BaseVPlayer(FloatLayout):
self._video.seek(0.0,precise=True) self._video.seek(0.0,precise=True)
def audioswitch(self,btn): def audioswitch(self,btn):
print('*********AUDIOSwitch 1**************', self.ffplayer)
if self.ffplayer is not None: if self.ffplayer is not None:
print('*********AUDIOSwitch**************') print('*********AUDIOSwitch 2**************')
self.ffplayer.request_channel('audio') self.ffplayer.request_channel('audio')
def setVolume(self,obj,v): def setVolume(self,obj,v):