Skip HEVC RASL slices following a decoder reset

This commit is contained in:
Vanilagy
2025-09-09 13:09:41 +02:00
parent a295cd76c6
commit b9f7ab2fa2
7 changed files with 120 additions and 62 deletions
@@ -96,6 +96,13 @@ const generateThumbnails = async (resource: File | string) => {
timestampElement.className
= 'absolute bottom-0 right-0 bg-black/30 text-white px-1 py-0.5 text-[11px] rounded-tl-lg';
container.append(timestampElement);
} else {
// Add something to indicate that the thumbnail is missing
const p = document.createElement('p');
p.textContent = '?';
p.className = 'absolute inset-0 flex items-center justify-center text-3xl opacity-50';
container.append(p);
}
i++;