From 684b7b7391b7e80fe207dc1f52c601fc636d9894 Mon Sep 17 00:00:00 2001 From: Vanilagy <1696106+Vanilagy@users.noreply.github.com> Date: Fri, 12 Sep 2025 16:50:14 +0200 Subject: [PATCH] Fix order --- docs/guide/media-sinks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/media-sinks.md b/docs/guide/media-sinks.md index 790bf54..ac76161 100644 --- a/docs/guide/media-sinks.md +++ b/docs/guide/media-sinks.md @@ -314,7 +314,7 @@ for await (const sample of keyFrameSamples) { ### `CanvasSink` -While `VideoSampleSink` extracts raw decoded video samples, you can use `CanvasSink` to extract these samples as canvases instead. In doing so, certain operations such as cropping, scaling, and rotating can also be handled by the sink. The downside is the additional VRAM requirements for the canvases' framebuffers. +While `VideoSampleSink` extracts raw decoded video samples, you can use `CanvasSink` to extract these samples as canvases instead. In doing so, certain operations such as scaling, rotating, and cropping can also be handled by the sink. The downside is the additional VRAM requirements for the canvases' framebuffers. ::: info This sink yields `HTMLCanvasElement` whenever possible, and falls back to `OffscreenCanvas` otherwise (in Worker contexts, for example).