1

I'm using libVLC with wxPython to stream videos from YouTube. Playing and pausing the videos works well but when I try to stop the video using self.player.stop(), the program seg faults. I also get this problem when using self.Media.release(). I tried running Python in 32 bit mode but that didn't help.

There are two messages that I receive when this happens. Sometimes the stack reads "Segmentation fault: 11" and other times it read "Bus error: 10"

The seg fault also occurs when stopping local videos as well.

How do I fix this so that I can stop videos?

By the way, I read through this question but that didn't help. media_player_new() works fine for me.

Community
  • 1
  • 1
user1056805
  • 2,633
  • 5
  • 21
  • 19
  • A faulty Python code shouldn't cause a segfault. This means it's a bug in either the libVLC or Python bindings to it. – yak Nov 20 '11 at 21:42

0 Answers0