This commit is contained in:
yumoqing 2020-03-16 10:53:43 +08:00
parent f69a432861
commit 713111677f

View File

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