Add debug info about latency

This commit is contained in:
rubenrua 2018-09-24 18:15:33 +02:00
parent f80a8ce18e
commit 22c7240bad
2 changed files with 2 additions and 0 deletions

View file

@ -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 {

View file

@ -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 {