diff --git a/tools/chatgui-android/app/src/main/java/com/utun/chat/data/StreamDecodePump.kt b/tools/chatgui-android/app/src/main/java/com/utun/chat/data/StreamDecodePump.kt index 1a2fe822..f88e7b38 100644 --- a/tools/chatgui-android/app/src/main/java/com/utun/chat/data/StreamDecodePump.kt +++ b/tools/chatgui-android/app/src/main/java/com/utun/chat/data/StreamDecodePump.kt @@ -43,7 +43,10 @@ internal class StreamDecodePump( fun offer(frame: F, now: Long) { // Уже запрошенный ответ может прийти после появления будущего output. - check(input == null && !ended) { "Decoder already owns a working frame" } + check(input == null && !ended) { + "Decoder already owns a working frame: incomingPTS=${frame.pts} inputPTS=${input?.pts} outputPTS=${output?.pts} " + + "ended=$ended inputs=$inputCount decoded=$outputCount shown=$shown" + } // Новые данные после сетевой паузы получают собственное окно ожидания decoder progress. if (lastInputAt < 0 || now - lastInputAt > 1_000_000) waitingSince = now input = frame