Resolve unreleased resource of sdl in SDLFilm. Use wait event in example