Source

pygame / examples / __movie_test.py

Author Commit Message Labels Comments Date
illume
Improving movieplayer examples.
illume
fixes for py3k compat
zeroth
Made modifications for backward compat with older ffmpeg libraries. As well, fixed bug in examples script. Did not see any crashes on the laptop, will test on the desktop.
zeroth
Created a MovieInfo object, for users to "introspect" the information about a movie file, and do stuff appropriately, like durations, etc.
zeroth
Added exception throwing if the linked surface is not the right aspect ratio, ie, if the aspect ratio is different from the movie's aspect ratio. This is done because otherwise, surfaces suffer nasty corruption which doesn't look very good.
illume
Moved __movie_test.py out of tests/ into examples/ . It's not a unittests.