diff --git a/src/player/QQuickRealTimePlayer.cpp b/src/player/QQuickRealTimePlayer.cpp index 1edca34..5dc31c2 100644 --- a/src/player/QQuickRealTimePlayer.cpp +++ b/src/player/QQuickRealTimePlayer.cpp @@ -88,7 +88,7 @@ shared_ptr QQuickRealTimePlayer::getFrame(bool &got) { return {}; } // 从帧缓冲区取出帧 - frame = videoFrameQueue.back(); + frame = videoFrameQueue.front(); got = true; // 缓冲区出队被渲染的帧 videoFrameQueue.pop();