mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-22 18:16:28 +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!(
|
||||
CAT,
|
||||
imp = self,
|
||||
"Received frame with timecode {}, timestamp {}, duration {}, receive time {}, local time now {}",
|
||||
timecode,
|
||||
"Received frame of type {idx} with timecode {timecode}, timestamp {}, duration {}, receive time {}, local time now {}",
|
||||
timestamp.display(),
|
||||
duration.display(),
|
||||
receive_time_gst.display(),
|
||||
|
|
|
@ -337,8 +337,10 @@ impl Receiver {
|
|||
gst::debug!(
|
||||
CAT,
|
||||
obj = element,
|
||||
"Received video frame at timecode {}: {:?}",
|
||||
"Received video frame with timecode {} at {} (wallclock: {}): {:?}",
|
||||
(frame.timecode() as u64 * 100).nseconds(),
|
||||
receive_time_gst,
|
||||
receive_time_real,
|
||||
frame,
|
||||
);
|
||||
|
||||
|
@ -356,8 +358,10 @@ impl Receiver {
|
|||
gst::debug!(
|
||||
CAT,
|
||||
obj = element,
|
||||
"Received audio frame at timecode {}: {:?}",
|
||||
"Received audio frame with timecode {} at {} (wallclock: {}): {:?}",
|
||||
(frame.timecode() as u64 * 100).nseconds(),
|
||||
receive_time_gst,
|
||||
receive_time_real,
|
||||
frame,
|
||||
);
|
||||
|
||||
|
@ -372,8 +376,10 @@ impl Receiver {
|
|||
gst::debug!(
|
||||
CAT,
|
||||
obj = element,
|
||||
"Received metadata frame at timecode {}: {:?}",
|
||||
"Received metadata frame with timecode {} at {} (wallclock: {}): {:?}",
|
||||
(frame.timecode() as u64 * 100).nseconds(),
|
||||
receive_time_gst,
|
||||
receive_time_real,
|
||||
frame,
|
||||
);
|
||||
Ok(Buffer::Metadata {
|
||||
|
|
Loading…
Reference in a new issue