You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example codes, the QOpenGLWidget updates at the same frequency as video's FPS.
When I use a QTImer to update it at fixed 60 FPS, the QOpenGLWidget also updates at the same frequency as the video's FPS. But after I paused the video, it works at 60 FPS.
I'm really puzzled by this phenomenon. How can I update the QOpenGLWidget at a fixed 60FPS?
The text was updated successfully, but these errors were encountered:
It's not really clear what you want. The normal way to update the screen is by responding to the opengl-cb update callback. Without display-sync it will update whenever a new video frame needs to be shown, with display-sync it will request a redraw immediately (unless the video is paused).
In the example codes, the QOpenGLWidget updates at the same frequency as video's FPS.
When I use a QTImer to update it at fixed 60 FPS, the QOpenGLWidget also updates at the same frequency as the video's FPS. But after I paused the video, it works at 60 FPS.
I'm really puzzled by this phenomenon. How can I update the QOpenGLWidget at a fixed 60FPS?
The text was updated successfully, but these errors were encountered: