Let desktop codecs read ahead while keeping presentation bounded
This commit is contained in:
1 parent
049480408a
commit
74c96ba5e9
2 files changed
+24
-11
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user