mirror of https://github.com/kivy/kivy.git
SoundLoader: Fix play calls not working in ffpyplayer after the first (#7541)
* seek on play in ffpyplayer * remove kivy/graphics/cgl.h, edit .gitignore
This commit is contained in:
parent
e10ef1a11c
commit
d7575d41e1
|
@ -31,6 +31,7 @@ kivy/graphics/*.cpp
|
|||
kivy/graphics/*.pyd
|
||||
kivy/graphics/cgl_backend/*.c
|
||||
kivy/graphics/cgl_backend/*.pyd
|
||||
kivy/graphics/cgl.h
|
||||
kivy/include/config.h
|
||||
kivy/include/config.pxi
|
||||
kivy/lib/gstplayer/_gstplayer.c
|
||||
|
|
|
@ -147,6 +147,7 @@ class SoundFFPy(Sound):
|
|||
self._state = 'playing'
|
||||
self.state = 'play'
|
||||
super(SoundFFPy, self).play()
|
||||
self.seek(0)
|
||||
|
||||
def stop(self):
|
||||
if self._ffplayer and self._state == 'playing':
|
||||
|
|
Loading…
Reference in New Issue