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) self._video.seek(0.0,precise=True)
def audioswitch(self,btn): def audioswitch(self,btn):
print('*********AUDIOSwitch 1**************', dir(self._video._video)) x = self._video._video._ffplayer.request_channel('audio')
if self.ffplayer is not None: print('*********AUDIOSwitch 1**************',x)
x = self.ffplayer.request_channel('audio')
print('*********AUDIOSwitch 2**************',x)
def setVolume(self,obj,v): def setVolume(self,obj,v):
self._video.volume = v self._video.volume = v