bugfix
This commit is contained in:
parent
762d048b8d
commit
0bb5cee633
@ -40,7 +40,6 @@ class NewVideo(BGColorBehavior, Video):
|
|||||||
|
|
||||||
# fix bug for android
|
# fix bug for android
|
||||||
# ValueError: None is not allowed for NewVideo.duration
|
# 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:
|
||||||
@ -49,7 +48,4 @@ class NewVideo(BGColorBehavior, Video):
|
|||||||
return
|
return
|
||||||
if not video.position:
|
if not video.position:
|
||||||
return
|
return
|
||||||
if not video.texture:
|
|
||||||
return
|
|
||||||
super()._on_video_frame(*largs)
|
super()._on_video_frame(*largs)
|
||||||
"""
|
|
||||||
|
Loading…
Reference in New Issue
Block a user