Hi i am working with the SDL and the SDL smpeg library on windows 2000 …
my application runs fine until I try to run it in full screen mode. If i
comment out all of the smpeg code I can run it in full screen … but as
soon as I add it back in it crashes again … the crash occurs when I
call SDL_PollEvent in my main loop . If i comment out the SDL_PollEvent
the application runs fine for a couple of loops and then it crashes on
another sdl call … I get …
First-chance exception in SDLtrial.exe (SDL.DLL): 0xC0000005: Access Violation.
Anybody have any idea what is wrong ??
Hi i am working with the SDL and the SDL smpeg library on windows 2000 …
my application runs fine until I try to run it in full screen mode. If i
comment out all of the smpeg code I can run it in full screen … but as
soon as I add it back in it crashes again … the crash occurs when I
call SDL_PollEvent in my main loop . If i comment out the SDL_PollEvent
the application runs fine for a couple of loops and then it crashes on
another sdl call … I get …
First-chance exception in SDLtrial.exe (SDL.DLL): 0xC0000005: Access Violation.
Anybody have any idea what is wrong ??
After further experimentation I am convinced that the problem is in the
smpeg library … I can reproduce the same type of error in the sample
application ‘plaympeg’ by requesting fullscreen mode … is anybody familiar
enough with the smpeg library that they could help me find the bug ?
Fixed my own problem … it seems that when SMPEG calls
SDL_DisplayYUVOverlay is where the crash occurs… it only crashes when the
sdl surface that you pass to SMPEG is in hardware memory … if you create
the surface in system memory the problem goes away.
At 12:21 PM 9/6/2001 -0600, you wrote:>Hi i am working with the SDL and the SDL smpeg library on windows 2000 …
my application runs fine until I try to run it in full screen mode. If i
comment out all of the smpeg code I can run it in full screen … but as
soon as I add it back in it crashes again … the crash occurs when I
call SDL_PollEvent in my main loop . If i comment out the SDL_PollEvent
the application runs fine for a couple of loops and then it crashes on
another sdl call … I get …
First-chance exception in SDLtrial.exe (SDL.DLL): 0xC0000005: Access
Violation.
Anybody have any idea what is wrong ??
After further experimentation I am convinced that the problem is in the
smpeg library … I can reproduce the same type of error in the sample
application ‘plaympeg’ by requesting fullscreen mode … is anybody
familiar enough with the smpeg library that they could help me find the bug ?
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl