Preserve video frames until audio clock reaches their PTS

This commit is contained in:
evgeny committed 2026-10-13 12:55:56 +02:00
1 parent 1d984f0d0b
commit ef67e3ed2c
2 files changed
+29 -11

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ static void buffer_evict_oldest(struct stream_buffer *b) {
b->stats.blocks -= batch->count;
b->stats.stored_bytes -= batch->count * b->block_bytes;
b->stats.evicted_batches++;
DEBUG_DEBUG(DEBUG_CATEGORY_STREAM, "buffer evicted seq=%llu blocks=%u retained=%u bytes=%zu low=%llu",
DEBUG_TRACE(DEBUG_CATEGORY_STREAM, "buffer evicted seq=%llu blocks=%u retained=%u bytes=%zu low=%llu",
(unsigned long long)batch->seq, batch->count, b->stats.blocks, b->stats.stored_bytes,
(unsigned long long)b->stats.expired_before);
u_free(batch);