fix: fix seek without cues

This commit is contained in:
master 2025-03-18 06:51:22 +08:00
parent 6da8556f13
commit c0d4de4d28

View File

@ -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]!)
);
};