mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-29 13:30:34 +00:00
livesync: log new pending segments
The debug print of the event does not display details about the segment: Unqueueing Some(Event(Event { ptr: 0x7fa3e0002580, type: "segment", seqnum: Seqnum(479), structure: Some(GstEventSegment { segment: (GstSegment) ((GstSegment*) 0x7fa3e8001d00) }) })) Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1370>
This commit is contained in:
parent
ee93448de7
commit
13dae0f0d0
1 changed files with 1 additions and 0 deletions
|
@ -1057,6 +1057,7 @@ impl LiveSync {
|
|||
match event.view() {
|
||||
gst::EventView::Segment(e) => {
|
||||
let segment = e.segment().downcast_ref().unwrap();
|
||||
gst::debug!(CAT, imp: self, "pending {segment:?}");
|
||||
state.pending_segment = Some(segment.clone());
|
||||
push = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue