title: Error running VLC mediaplayer on Raspberry
body: <p>I'm running some media files in my Raspberry, with this code:</p>
  <pre><code>while True :
      try:
          response = input
          print(response)
          if (response=='playvideo1'):
              print(&quot;playvideo1&quot;) #first condition I need
              player= vlc.MediaPlayer('/home/pi/Downloads/video1.mp4')
              player.play()
              player.set_fullscreen(True)
          elif(response=='playvideo2'):
              print(&quot;playvideo2&quot;) #second condition that I need
          elif(response=='playvideo3'):
              print(&quot;playvideo3&quot;) #third condition that I need
      except:
          pass
  </code></pre>
  <p>It runs and plays the video but in the terminal is giving me this error:</p>
  <pre><code>playvideo1
  [a1526cc8] mmal_codec decoder: VCSM init succeeded: CMA
  [a1526cc8] main decoder error: buffer deadlock prevented
  'playvideo2'
  playvideo2
  [00dfbd10] xcb_window window error: X server failure
  </code></pre>
  <p>Also, there is some way to play a video if the input is not any of my conditions? like:
  <code> response ==''</code></p>