togglerecord: implement Debug on Stream and StreamState

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1935>
This commit is contained in:
Guillaume Desmottes 2024-11-28 11:54:16 +01:00 committed by GStreamer Marge Bot
parent 7a336cf8ad
commit fb54cfa425

View file

@ -41,7 +41,7 @@ impl Default for Settings {
}
}
#[derive(Clone)]
#[derive(Clone, Debug)]
struct Stream {
sinkpad: gst::Pad,
srcpad: gst::Pad,
@ -66,6 +66,7 @@ impl Stream {
}
}
#[derive(Debug)]
struct StreamState {
in_segment: gst::FormattedSegment<gst::ClockTime>,
out_segment: gst::FormattedSegment<gst::ClockTime>,