This commit is contained in:
yumoqing 2022-09-21 17:25:50 +08:00
parent 26d6d804ce
commit 0de9256384
2 changed files with 3 additions and 1 deletions

View File

@ -340,6 +340,8 @@ class FFVideo(WidgetReady, Image):
if self._update_task: if self._update_task:
self._update_task.cancel() self._update_task.cancel()
self._update_task = None self._update_task = None
if self._player is None:
return
frame, val = self._player.get_frame() frame, val = self._player.get_frame()
if val == 'eof': if val == 'eof':
self.status = 'stop' self.status = 'stop'

View File

@ -1 +1 @@
__version__ = '0.3.18' __version__ = '0.3.19'