I have written a openGL program can play yuv file. But I do not know how to control the frame rate. I tried sleep(), and while loop, but in this time, the glutKeyboardFunc() function doesnt work, which means I can not control my program. Does anyone can help me out? Thank you so much!!!
And does glut provide buttons? I want to build a player interface like media player classic. Any open source code movie player using openGL?