bugfix
This commit is contained in:
parent
16da3c9d85
commit
762d048b8d
@ -38,7 +38,9 @@ class NewVideo(BGColorBehavior, Video):
|
|||||||
else:
|
else:
|
||||||
Window.allow_screensaver = True
|
Window.allow_screensaver = True
|
||||||
|
|
||||||
# fix bug
|
# fix bug for android
|
||||||
|
# ValueError: None is not allowed for NewVideo.duration
|
||||||
|
"""
|
||||||
def _on_video_frame(self, *largs):
|
def _on_video_frame(self, *largs):
|
||||||
video = self._video
|
video = self._video
|
||||||
if not video:
|
if not video:
|
||||||
@ -50,3 +52,4 @@ class NewVideo(BGColorBehavior, Video):
|
|||||||
if not video.texture:
|
if not video.texture:
|
||||||
return
|
return
|
||||||
super()._on_video_frame(*largs)
|
super()._on_video_frame(*largs)
|
||||||
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user