From c0d4de4d28197953cec108eab83618f3f77191f2 Mon Sep 17 00:00:00 2001 From: lonelyhentxi Date: Tue, 18 Mar 2025 06:51:22 +0800 Subject: [PATCH] fix: fix seek without cues --- apps/playground/src/video-pipeline-demo.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/playground/src/video-pipeline-demo.ts b/apps/playground/src/video-pipeline-demo.ts index b48c584..0209649 100644 --- a/apps/playground/src/video-pipeline-demo.ts +++ b/apps/playground/src/video-pipeline-demo.ts @@ -205,8 +205,8 @@ export class VideoPipelineDemo extends LitElement { EbmlCluster | undefined, ] ), - filter((c) => c[1]?.timestamp! >= seekTime), - map((c) => c[1]!) + filter((c) => c[1]?.timestamp! > seekTime), + map((c) => c[0] ?? c[1]!) ); };