Skip to content

Commit

Permalink
max frame rate 100
Browse files Browse the repository at this point in the history
  • Loading branch information
TalusL committed Jun 13, 2024
1 parent d3650ff commit 11fdb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QQuickRealTimePlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ QQuickRealTimePlayer::QQuickRealTimePlayer(QQuickItem *parent)
: QQuickFramebufferObject(parent) {
SDL_Init(SDL_INIT_AUDIO);
// 按每秒60帧的帧率更新界面
startTimer(1000 / 60);
startTimer(1000 / 100);
}

void QQuickRealTimePlayer::timerEvent(QTimerEvent *event) {
Expand Down

0 comments on commit 11fdb43

Please sign in to comment.