Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(enc-ffmpeg): log input and output dimensions in H264 encoder

Richie McIlroyd0f32c848e35
diff --git a/crates/enc-ffmpeg/src/video/h264.rs b/crates/enc-ffmpeg/src/video/h264.rs
index 0ec6690cc..1bda2b922 100644
--- a/crates/enc-ffmpeg/src/video/h264.rs
+++ b/crates/enc-ffmpeg/src/video/h264.rs
@@ -317,8 +317,10 @@ impl H264EncoderBuilder {
input_config.frame_rate.0 as f32 / input_config.frame_rate.1.max(1) as f32;
debug!(
encoder = %codec_name,
- width = input_config.width,
- height = input_config.height,
+ input_width = input_config.width,
+ input_height = input_config.height,
+ output_width = output_width,
+ output_height = output_height,
fps = fps,
"Selected standalone H264 encoder"
);