From dad755ece3ee5aa32c22c2bc4ca8bf1212e1eb75 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 5 Aug 2024 15:53:19 +0200 Subject: [PATCH] gtk4: log paintable size in snapshot Part-of: --- video/gtk4/src/sink/paintable/imp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/gtk4/src/sink/paintable/imp.rs b/video/gtk4/src/sink/paintable/imp.rs index 3695665b5..e14064b71 100644 --- a/video/gtk4/src/sink/paintable/imp.rs +++ b/video/gtk4/src/sink/paintable/imp.rs @@ -220,7 +220,7 @@ impl PaintableImpl for Paintable { let paintables = self.paintables.borrow(); let Some(first_paintable) = paintables.first() else { - gst::trace!(CAT, imp = self, "Snapshotting black frame"); + gst::trace!(CAT, imp = self, "Snapshotting black frame {width}x{height}"); snapshot.append_color( &background_color, &graphene::Rect::new(0f32, 0f32, width as f32, height as f32), @@ -229,7 +229,7 @@ impl PaintableImpl for Paintable { return; }; - gst::trace!(CAT, imp = self, "Snapshotting frame"); + gst::trace!(CAT, imp = self, "Snapshotting frame {width}x{height}"); // The first paintable is the actual video frame and defines the overall size. //