mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-29 13:30:34 +00:00
Add debug info about latency
This commit is contained in:
parent
f80a8ce18e
commit
22c7240bad
2 changed files with 2 additions and 0 deletions
|
@ -284,6 +284,7 @@ impl BaseSrcImpl<BaseSrc> for NdiAudioSrc {
|
|||
|
||||
if let Some(ref _info) = state.info {
|
||||
let latency = settings.latency.unwrap();
|
||||
gst_debug!(self.cat, obj: element, "Returning latency {}", latency);
|
||||
q.set(true, latency, gst::CLOCK_TIME_NONE);
|
||||
return true;
|
||||
} else {
|
||||
|
|
|
@ -285,6 +285,7 @@ impl BaseSrcImpl<BaseSrc> for NdiVideoSrc {
|
|||
|
||||
if let Some(ref _info) = state.info {
|
||||
let latency = settings.latency.unwrap();
|
||||
gst_debug!(self.cat, obj: element, "Returning latency {}", latency);
|
||||
q.set(true, latency, gst::CLOCK_TIME_NONE);
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue