mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-21 19:11:02 +00:00
speechmaticstranscriber: add debug
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1831>
This commit is contained in:
parent
115e12c09a
commit
867408b1c0
1 changed files with 7 additions and 0 deletions
|
@ -364,6 +364,12 @@ impl TranscriberSrcPad {
|
|||
}
|
||||
|
||||
if self.obj().sticky_event::<gst::event::Segment>(0).is_none() {
|
||||
gst::debug!(
|
||||
CAT,
|
||||
imp = self,
|
||||
"Constructing segment event from {:?}",
|
||||
state_guard.out_segment
|
||||
);
|
||||
events.push(
|
||||
gst::event::Segment::builder(&state_guard.out_segment)
|
||||
.seqnum(state_guard.seqnum)
|
||||
|
@ -374,6 +380,7 @@ impl TranscriberSrcPad {
|
|||
drop(state_guard);
|
||||
|
||||
for event in events {
|
||||
gst::debug!(CAT, imp = self, "Pushing event {event:?}");
|
||||
self.obj().push_event(event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue