Skip to content

Commit 18a4a55

Browse files
committed
Fix playback gets stuck after too many frame drops when starting the playback
1 parent 9cf818f commit 18a4a55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

videorender.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ int cVideoRender::DisplayFrame(void)
939939
// sync audio/video
940940
cDrmBuffer *buf = NULL;
941941

942-
if (NeedsSync(frame)) {
942+
if (NeedsSync(frame) && !m_flushLastFrame) {
943943
ret = Sync(frame);
944944

945945
if (ret == 2) {

0 commit comments

Comments
 (0)