This commit is contained in:
yumoqing 2020-11-21 18:02:08 +08:00
parent 762d048b8d
commit 0bb5cee633

View File

@ -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)
"""