[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.mixer.quit() not working correctly?



Florian Krause schrieb:
> Does this have to do with the fact
> that the movie is playing in another thread?

Yes, that is the exact reason. You need to keep you main thread alive
while the movie is playing. see this recipe on the Python cookbook which
I posted ages ago for an example how this works with audio files:

http://code.activestate.com/recipes/521884-play-sound-files-with-pygame-in-a-cross-platform-m/

Chris