mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 21:11:00 +00:00
ndisrc: receiver: Improve debug message when receiving frames
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1727>
This commit is contained in:
parent
84fef267b5
commit
04da3b2047
2 changed files with 10 additions and 5 deletions
|
@ -644,8 +644,7 @@ impl NdiSrc {
|
||||||
gst::log!(
|
gst::log!(
|
||||||
CAT,
|
CAT,
|
||||||
imp = self,
|
imp = self,
|
||||||
"Received frame with timecode {}, timestamp {}, duration {}, receive time {}, local time now {}",
|
"Received frame of type {idx} with timecode {timecode}, timestamp {}, duration {}, receive time {}, local time now {}",
|
||||||
timecode,
|
|
||||||
timestamp.display(),
|
timestamp.display(),
|
||||||
duration.display(),
|
duration.display(),
|
||||||
receive_time_gst.display(),
|
receive_time_gst.display(),
|
||||||
|
|
|
@ -337,8 +337,10 @@ impl Receiver {
|
||||||
gst::debug!(
|
gst::debug!(
|
||||||
CAT,
|
CAT,
|
||||||
obj = element,
|
obj = element,
|
||||||
"Received video frame at timecode {}: {:?}",
|
"Received video frame with timecode {} at {} (wallclock: {}): {:?}",
|
||||||
(frame.timecode() as u64 * 100).nseconds(),
|
(frame.timecode() as u64 * 100).nseconds(),
|
||||||
|
receive_time_gst,
|
||||||
|
receive_time_real,
|
||||||
frame,
|
frame,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -356,8 +358,10 @@ impl Receiver {
|
||||||
gst::debug!(
|
gst::debug!(
|
||||||
CAT,
|
CAT,
|
||||||
obj = element,
|
obj = element,
|
||||||
"Received audio frame at timecode {}: {:?}",
|
"Received audio frame with timecode {} at {} (wallclock: {}): {:?}",
|
||||||
(frame.timecode() as u64 * 100).nseconds(),
|
(frame.timecode() as u64 * 100).nseconds(),
|
||||||
|
receive_time_gst,
|
||||||
|
receive_time_real,
|
||||||
frame,
|
frame,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -372,8 +376,10 @@ impl Receiver {
|
||||||
gst::debug!(
|
gst::debug!(
|
||||||
CAT,
|
CAT,
|
||||||
obj = element,
|
obj = element,
|
||||||
"Received metadata frame at timecode {}: {:?}",
|
"Received metadata frame with timecode {} at {} (wallclock: {}): {:?}",
|
||||||
(frame.timecode() as u64 * 100).nseconds(),
|
(frame.timecode() as u64 * 100).nseconds(),
|
||||||
|
receive_time_gst,
|
||||||
|
receive_time_real,
|
||||||
frame,
|
frame,
|
||||||
);
|
);
|
||||||
Ok(Buffer::Metadata {
|
Ok(Buffer::Metadata {
|
||||||
|
|
Loading…
Reference in a new issue