For "event" ststem need initialize "VIDEO" system.

Issue #33 wontfix
René Dudfield created an issue

== Uriy Zhuravlev, 2009-05-30 09:16:49 -0700

{{{ For normal work with sound and mixer class i need use event system but in my system not have video.

Now i modify VIDEO_INIT_CHECK() macros in src/pygame.h for disable exception and my program good work.

I believe that this is not the correct logic of the pygame. }}}

== Uriy Zhuravlev, 2009-05-30 12:53:37 -0700

{{{ Created attachment 23 Callback function

Need provide Mix_HookMusicFinished callback to pygame for not event work with pygame.mixer.

I post patch but him segfault. :( }}}

Attachments: [[| pygame_music]]

Comments (1)

  1. René Dudfield reporter

    You can set an environment variable as SDL_VIDEODRIVER=dummy which will make the system work if you don't have video on your system.

    I'm not sure what the patch is, or if you need it any more. Sorry this bug took so long to answer. Please reopen bug if you are still interested in having the patch applied.

  2. Log in to comment