Let desktop codecs read ahead while keeping presentation bounded

This commit is contained in:
evgeny committed 2026-10-14 13:43:23 +02:00
1 parent 049480408a
commit 74c96ba5e9
2 files changed
+24 -11

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ private slots:
unsigned records = 0;
QElapsedTimer held; held.start();
while (held.elapsed() < 30) {
if (gui_stream_pull(102, event, 100000, 0, 0)) { QVERIFY(event.kind != StreamRecordKind::Gap); records++; }
if (gui_stream_pull(102, event, 100000, false, 0)) { QVERIFY(event.kind != StreamRecordKind::Gap); records++; }
QTest::qWait(1);
}
QVERIFY(records <= 2); /* Накопленные 27 секунд остаются в RS, а не в очереди frontend. */