title: Even with pygame initialized "video system not initialized" gets thrown
body: <p>The following bit of code throws an error:</p>
  
  <pre><code>while True:
      event = pygame.event.wait()
      if (event.type == ENDSONG):
              queue_song()
  </code></pre>
  
  <p>This it what it reads:</p>
  
  <pre><code>  File "pygametest.py", line 22, in &lt;module&gt;
    event = pygame.event.wait()
    pygame.error: video system not initialized
  </code></pre>
  
  <p>Most of the digging I've done says that the error stems from pygame.init() not being run, but that's what starts my code.</p>
  
  <p>Am I missing something else?</p>
  
  <p>Edit: Added Code.</p>
  
  <pre><code>import pygame
  import time
  
  def queue_song():
          print "Queueing New Song"
  
  pygame.init()
  pygame.mixer.init()
  #rest of code
  </code></pre>