mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-10 20:31:10 +00:00
gtk4: log paintable size in snapshot
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1689>
This commit is contained in:
parent
fa060b9fa0
commit
2333b241f0
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue