I’m currently developing a video player which uses OpenGL to paint images on the screen. The stream I try to play is HD H.264 video and I use the glDrawPixels function to display my decoded RGBA images. Here is the problem, the bottom half of my application’s video window is pixelated. If I leave my application running and open VLC, the video magically fixes itself and is clear. I don’t have to open any video within VLC, I just have to bring the application up. When I close VLC, the video within my application is pixelated again.
I’m not sure if the problem is OpenGL related or not. Any ideas?