Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

docs: fix the documented ffmpeg command in the HEVC test

EtienneLescot9e7faac97274
diff --git a/crates/compositor/tests/hevc10_decode.rs b/crates/compositor/tests/hevc10_decode.rs
index 33dd9edad..e0099fc2a 100644
--- a/crates/compositor/tests/hevc10_decode.rs
+++ b/crates/compositor/tests/hevc10_decode.rs
@@ -94,7 +94,8 @@ fn a_10_bit_hevc_frame_keeps_its_colours() {
/// correctif, le gris sombre tombe à ~19 et le gris clair monte à ~242.
///
/// ```sh
-/// ffmpeg -f lavfi -i "color=c=0x202020:size=640x360:rate=30:duration=1,drawbox=x=320:y=0:w=320:h=360:color=0xe0e0e0:t=fill" /// -vf scale=out_range=full,format=p010le -color_range pc -c:v hevc_videotoolbox -profile:v main10 -tag:v hvc1 grey10full.mov
+/// ffmpeg -f lavfi -i "color=c=0x202020:size=640x360:rate=30:duration=1,drawbox=x=320:y=0:w=320:h=360:color=0xe0e0e0:t=fill" \
+/// -vf scale=out_range=full,format=p010le -color_range pc -c:v hevc_videotoolbox -profile:v main10 -tag:v hvc1 grey10full.mov
/// OPENSCREEN_FULL_RANGE_SOURCE=$PWD/grey10full.mov cargo test -p openscreen-compositor --test hevc10_decode
/// ```
#[test]